summaryrefslogtreecommitdiff
path: root/src/terminal_unix.go
AgeCommit message (Collapse)Author
2024-08-29Fix CTRL-Z handlingJunegunn Choi
Fix #3802 This fixes `xterm -e fzf` hangs on CTRL-Z * Replace SIGSTOP with SIGTSTP * Do not rely on SIGCONT
2024-04-27Add --with-shell for shelling out with different command and flags (#3746)Junegunn Choi
Close #3732
2023-12-25Fix shell escaping for fishJunegunn Choi
Fix #3224
2023-11-04Fix CTRL-Z handling: Signal SIGSTOP to PGIDJunegunn Choi
Fix #3501
2022-03-29Modernize build tagsJunegunn Choi
2021-10-15Add more tests of placeholder flags and simplify its logic (#2624)Vlastimil Ovčáčík
* [tests] Test fzf's placeholders and escaping on practical commands This tests some reasonable commands in fzf's templates (for commands, previews, rebinds etc.), how are those commands escaped (backslashes, double quotes), and documents if the output is executable in cmd.exe. Both on Unix and Windows. * [tests] Add testing of placeholder parsing and matching Adds tests and bit of docs for the curly brackets placeholders in fzf's template strings. Also tests the "placeholder" regex. * [tests] Add more test cases of replacing placeholders focused on flags Replacing placeholders in templates is already tested, this adds tests that focus more on the parameters of placeholders - e.g. flags, token ranges. There is at least one test for each flag, not all combinations are tested though. * [refactoring] Split OS-specific function quoteEntry() to corresponding source file This is minor refactoring, and also the function's test was made crossplatform. * [refactoring] Simplify replacePlaceholder function Should be equivalent to the original, but has simpler structure.
2017-04-28Support CTRL-Z (SIGSTOP)Junegunn Choi
2016-11-07Prepare for termbox/windows buildJunegunn Choi
`TAGS=termbox make` (or `go build -tags termbox`)