summaryrefslogtreecommitdiff
path: root/src/terminal.go
AgeCommit message (Collapse)Author
2025-10-09Add Unix domain socket support for --listenJunegunn Choi
Close #4541
2025-10-09Fix offset-up and offset-down with --layout=reverse-listJunegunn Choi
Related: 3df06a1c68b7dcaf54bb455489498440836f363e
2025-10-09Add 'best' actionJunegunn Choi
2025-10-09Go to the closest match when disabling raw modeJunegunn Choi
2025-10-09ADD $FZF_DIRECTIONJunegunn Choi
2025-10-09Rename: '--color hidden' to '--color nomatch'Junegunn Choi
2025-10-09Fix non-matching items not refreshing after clearing queryJunegunn Choi
2025-10-09Fix: 'hidden' style not applied to text without colorsJunegunn Choi
2025-10-09Add special 'strip' style attribute for stripping colorsJunegunn Choi
Test cases: fd --color always | fzf --ansi --delimiter / fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim,nth:regular fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim:strip,nth:regular fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim:strip,nth:regular --raw fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim:strip,nth:regular,hidden:strikethrough --raw fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim:strip,nth:regular,hidden:strip:strikethrough --raw fd --color always | fzf --ansi --delimiter / --nth -1 --color fg:dim:strip,nth:regular,hidden:strip:dim:strikethrough --raw
2025-10-09Revise color configurationJunegunn Choi
2025-10-09Add $FZF_RAW for conditional actionsJunegunn Choi
2025-10-09Add enable-raw and disable-raw actionsJunegunn Choi
2025-10-09Refactor action implementationJunegunn Choi
2025-10-09Remove TODO commentsJunegunn Choi
2025-10-09Introduce 'raw' modeJunegunn Choi
2025-10-04Fix stray character artifacts when scrollbar is hiddenJunegunn Choi
Fix #4537
2025-09-29refactor: use maps.Copy and maps.Clone (#4518)mickychang9
Signed-off-by: mickychang9 <mickychang9@outlook.com>
2025-09-27Remove unused fieldJunegunn Choi
2025-09-16Style change: thinner gutter column (#4521)Junegunn Choi
2025-09-14Fix rendering of multiple OSC 8 links in a single lineJunegunn Choi
Fix #4517
2025-09-05Add sub-word actions (#3997)Massimo Mund
Add `backward-subword`, `forward-subword`, `kill-subword`, `backward-kill-subword` actions.
2025-09-05Add keybindings for CTRL, ALT, SHIFT + UP, DOWN, RIGHT, LEFT, HOME, END, ↵Massimo Mund
BACKSPACE, DELETE & more (#3996) * Added tests for `LightRenderer` * Added common SHIFT, ALT and ALT+SHIFT key sequences * Added common CTRL key sequences * Added common CTRL+ALT, CTRL+SHIFT, CTRL+ALT+SHIFT key sequences * Added proper xterm META modifier handling according to https://github.com/joejulian/xterm/blob/defc6dd5684a12dc8e56cb6973ef973e7a32caa3/input.c#L357-L375 * Fix `ctrl-backspace` and `ctrl-alt-backspace` * Fix broken tcell tests on windows by swallowing Resize events * Added tests for FullscreenRenderer * Removed own fork of tcell and updated tcell to 2.9.0 tcell 2.9.0 is needed for `Ctrl-Alt-*` and `Ctrl-Alt-Shift-*` shortcuts in Windows * Replace conditional checks with switch statements to improve readability * Replace long conditionals with constant slices to improve readability * Bind `ctrl-bspace` (`ctrl-h`) to `backward-delete-char` by default Since we now distinguish between Backspace and Ctrl-Backspace, Ctrl-Backspace should trigger the same action as Backspace by default. In that way nothing changes for the user but you can bind other actions to Ctrl-Backspace when desired.
2025-08-27Fix rendering of items with tabs when using a non-default ellipsisJunegunn Choi
Fix #4505
2025-08-08Fix incorrect truncation of --info-command with --info=inline-rightJunegunn Choi
Fix #4479
2025-08-03Fix a bug where you cannot unset the default `--nth` using `change-nth`Junegunn Choi
2025-08-02Fix $FZF_CLICK_{HEADER,FOOTER}_WORD with ANSI colors and tabsJunegunn Choi
2025-07-23Add 'trigger(KEY_OR_EVENT[,...])' actionJunegunn Choi
2025-07-23Better fix for #4465 - remove unnecessary eraseJunegunn Choi
2025-07-22Add 'click-footer' eventJunegunn Choi
2025-07-20Add support for {*n} and {*nf} placeholderJunegunn Choi
Close #4458
2025-07-06Fix selection lost on revision bumpJunegunn Choi
2025-07-06Fix regression where header is not updatedJunegunn Choi
2025-07-06Add 'multi' event triggered on multi-selection changesJunegunn Choi
2025-07-02Run preview command when preview window appears after CTRL-ZJunegunn Choi
https://github.com/junegunn/fzf/commit/80b88463188ff78719f23cb2e1dca5f27227879e
2025-07-02Fix panic caused by incorrect update orderingJunegunn Choi
Fix #4442 Make sure to prepare windows before rendering elements. Thanks to @nugged for the report.
2025-06-26Fix highlight offsets of multi-line entriesJunegunn Choi
Fix regression from 4811e52a
2025-06-25Support full-line background color in the list sectionJunegunn Choi
Close #4432
2025-06-22Terminate running background transform on exit (addendum)Junegunn Choi
Close #4422
2025-06-21Terminate running background transform on exitJunegunn Choi
Close #4422
2025-06-21Reorganize code to ensure deletion of temp filesJunegunn Choi
2025-06-21Add bg-cancel action to ignore running background transformsJunegunn Choi
Close #4430 Example: # Implement popup that disappears after 1 second # * Use footer as the popup # * Use `bell` to ring the terminal bell # * Use `bg-transform-footer` to clear the footer after 1 second # * Use `bg-cancel` to ignore currently running background transform actions fzf --multi --list-border \ --bind 'enter:execute-silent(echo -n {+} | pbcopy)+bell' \ --bind 'enter:+transform-footer(echo Copied {} to clipboard)' \ --bind 'enter:+bg-cancel+bg-transform-footer(sleep 1)'
2025-06-21Avoid full redraw when changing header and footer windowsJunegunn Choi
2025-06-20Do not reserve a single column at the end when scrollbar is hiddenJunegunn Choi
Close #4410 Example: fzf --pointer '' --marker '' --no-scrollbar --wrap --wrap-sign ''
2025-06-19Add {*} placeholder flagJunegunn Choi
2025-06-19Revert "Add {*} placeholder flag"Junegunn Choi
This reverts commit 27258f720723d5de32d483fb6b9ff39608ff9cf9.
2025-06-19Add {*} placeholder flagJunegunn Choi
2025-06-16Implement asynchronous transform actions (#4419)Junegunn Choi
Close #4418 Example: fzf --bind 'focus:bg-transform-header(sleep 2; date; echo {})'
2025-06-10Add footerJunegunn Choi
Options: --footer=STR String to print as footer --footer-border[=STYLE] Draw border around the footer section [rounded|sharp|bold|block|thinblock|double|horizontal|vertical| top|bottom|left|right|line|none] (default: line) --footer-label=LABEL Label to print on the footer border --footer-label-pos=COL Position of the footer label [POSITIVE_INTEGER: columns from left| NEGATIVE_INTEGER: columns from right][:bottom] (default: 0 or center) The default border type for footer is 'line', which draws a single separator between the footer and the list. It changes its position depending on `--layout`, so you don't have to manually switch between 'top' and 'bottom' The 'line' style is now supported by other border types as well. `--list-border` is the only exception.
2025-06-10Fix inconsistent placement of header-lines with border optionsJunegunn Choi
fzf displayed --header-lines inconsistently depending on the presence of borders: # --header and --header-lines co-located seq 10 | fzf --header-lines 3 --header "$(seq 101 103)" --header-first # --header and --header-lines separated seq 10 | fzf --header-lines 3 --header "$(seq 101 103)" --header-first --header-lines-border This commit fixes the inconsistency with the following logic: * If only one of --header or --header-lines is provided, --header-first applies to that single header. * If both are present, --header-first affects only the regular --header, not --header-lines.
2025-05-30--no-color: Keep ANSI attributes in preview windowJunegunn Choi
Example: fzf --preview 'echo -e "\x1b[33;3mfoo \x1b[34;4mbar\x1b[m baz"' --no-color