Junegunn Choi
7288daff07
Add 'best' action
2025-10-08 11:09:42 +09:00
Junegunn Choi
edd08d5cc6
Go to the closest match when disabling raw mode
2025-10-08 01:45:00 +09:00
Junegunn Choi
ee9c13eeeb
ADD $FZF_DIRECTION
2025-10-04 22:50:33 +09:00
Junegunn Choi
e393fda2fb
Rename: '--color hidden' to '--color nomatch'
2025-10-03 18:08:45 +09:00
Junegunn Choi
e7e7bc3315
Fix non-matching items not refreshing after clearing query
2025-10-02 23:58:32 +09:00
Junegunn Choi
93b446a848
Fix: 'hidden' style not applied to text without colors
2025-10-02 19:20:50 +09:00
Junegunn Choi
d3485a06a1
Add special 'strip' style attribute for stripping colors
...
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-01 23:52:24 +09:00
Junegunn Choi
e21f1c1b69
Revise color configuration
2025-10-01 08:52:06 +09:00
Junegunn Choi
ba113ebe6a
Do not allow gutter characters with width other than 1
2025-09-30 17:44:29 +09:00
Junegunn Choi
abb1d3af7b
Add $FZF_RAW for conditional actions
2025-09-29 22:36:44 +09:00
Junegunn Choi
2f03c5d10f
Add enable-raw and disable-raw actions
2025-09-29 18:42:50 +09:00
Junegunn Choi
ba945f1bf9
Refactor action implementation
2025-09-29 18:30:01 +09:00
Junegunn Choi
44572af6bb
Remove TODO comments
2025-09-29 18:30:01 +09:00
Junegunn Choi
f8521fa90e
Introduce 'raw' mode
2025-09-29 18:30:00 +09:00
mickychang9
760d1b7c58
refactor: use maps.Copy and maps.Clone ( #4518 )
...
Signed-off-by: mickychang9 <mickychang9@outlook.com >
2025-09-29 18:11:19 +09:00
Junegunn Choi
9bdacc8df2
Update --help output to avoid confusion
2025-09-28 23:56:51 +09:00
Junegunn Choi
db2e95b1f2
Remove unused field
2025-09-27 22:34:12 +09:00
alex-huff
687074e772
merger: fix chunk cache never getting cleared ( #4531 )
...
Commit 7fc13c5 indroduced less aggressive cache invalidation for the
chunk cache but saved the new revision before comparing it with the old
one, and so the cache was never considered invalid.
Fixes #4529
2025-09-27 09:01:13 +09:00
Massimo Mund
148b0a94cd
tui/light: consume full 7-byte CSI sequences to prevent leftover printing ( #4528 )
...
- Fix parsing in escSequence so 7-byte CSI forms (e.g. ESC [ 5 ; 10 ~) set *sz = 7 and the entire sequence is consumed.
- Prevents trailing bytes (like 10~) from remaining in the input buffer and being printed as stray characters.
2025-09-23 23:33:41 +09:00
Junegunn Choi
2a92c7d792
Adjust base16 (16) theme ( #4501 )
...
Motivation:
`--color base16` can be a better default than `dark` or `light`, since it uses
the colors defined by the current theme. This usually blends in more
naturally and works well in both light and dark modes.
However, some elements were previously hard-coded with white or black
foreground colors, which can cause rendering issues in certain terminal
themes.
2025-09-17 19:38:49 +09:00
Junegunn Choi
f5975cf870
Add --gutter to --help and man page
2025-09-16 21:30:01 +09:00
Junegunn Choi
a67aa85820
Style change: thinner gutter column ( #4521 )
2025-09-16 21:22:56 +09:00
Junegunn Choi
6684771cbf
Fix CTRL-Z for tcell renderer by using the official API
...
See https://github.com/gdamore/tcell/pull/431
2025-09-14 11:41:12 +09:00
Junegunn Choi
f5f894ea47
Fix rendering of multiple OSC 8 links in a single line
...
Fix #4517
2025-09-14 11:26:47 +09:00
Massimo Mund
ae12e94b1f
Add sub-word actions ( #3997 )
...
Add `backward-subword`, `forward-subword`, `kill-subword`, `backward-kill-subword` actions.
2025-09-05 19:38:22 +09:00
Massimo Mund
9ed971cc90
Add keybindings for CTRL, ALT, SHIFT + UP, DOWN, RIGHT, LEFT, HOME, END, 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 defc6dd568/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-09-05 14:56:51 +09:00
zhedazijingang
59dc7f178f
refactor: replace []byte(fmt.Sprintf) with fmt.Appendf ( #4507 )
...
Signed-off-by: zhedazijingang <unwrap_or_else@outlook.com >
2025-08-31 22:01:35 +09:00
Junegunn Choi
5546c65491
Fix rendering of items with tabs when using a non-default ellipsis
...
Fix #4505
2025-08-27 23:31:31 +09:00
Junegunn Choi
0a8ff7899c
Do not unset FZF_DEFAULT_* variables when using winpty
...
Fix #4497
Fix #4400
2025-08-22 19:24:01 +09:00
Ioannis Pinakoulakis
49967f3d45
Use fixed-length array when possible ( #4488 )
2025-08-15 21:16:41 +09:00
longhutianjie
978b6254c7
chore: remove redundant word in comment ( #4490 )
...
Signed-off-by: longhutianjie <keplrnewton@icloud.com >
2025-08-14 13:26:29 +09:00
Junegunn Choi
1afd143810
Fix incorrect truncation of --info-command with --info=inline-right
...
Fix #4479
2025-08-08 18:51:24 +09:00
Junegunn Choi
179aec1578
Fix '--color nth:regular' not to reset ANSI attributes of the original text
2025-08-03 00:54:26 +09:00
Junegunn Choi
af0014aba8
Fix a bug where you cannot unset the default --nth using change-nth
2025-08-03 00:29:05 +09:00
Junegunn Choi
da3d995709
Fix $FZF_CLICK_{HEADER,FOOTER}_WORD with ANSI colors and tabs
2025-08-02 16:47:09 +09:00
Junegunn Choi
4efcc344c3
Add 'trigger(KEY_OR_EVENT[,...])' action
2025-07-23 19:41:06 +09:00
Junegunn Choi
5818b58350
Better fix for #4465 - remove unnecessary erase
2025-07-23 19:30:52 +09:00
Junegunn Choi
7941129cc4
Add 'click-footer' event
2025-07-22 23:24:23 +09:00
Junegunn Choi
069d71a840
Fix rendering error when hiding a preview window without border
...
This was a regression introduced in cdcab267 .
Fix #4465
2025-07-22 19:23:10 +09:00
Junegunn Choi
08027e7a79
Fix --no-header-lines-border behavior
...
It should be different from --header-lines-border=none according to the
man page. It should merge two headers unlike the latter.
2025-07-22 19:16:55 +09:00
Junegunn Choi
ead302981c
Add support for {*n} and {*nf} placeholder
...
Close #4458
2025-07-20 10:53:58 +09:00
Junegunn Choi
82c9671f79
Fix selection lost on revision bump
2025-07-06 22:02:12 +09:00
Junegunn Choi
d364a1122e
Fix regression where header is not updated
2025-07-06 20:24:23 +09:00
Junegunn Choi
fb570e94e7
Update: make generate
2025-07-06 20:03:13 +09:00
Junegunn Choi
6e3c830cd2
Add 'multi' event triggered on multi-selection changes
2025-07-06 10:05:25 +09:00
Junegunn Choi
ff1550bb38
Normalize halfwidth and fullwidth characers for matching
2025-07-03 20:57:19 +09:00
Junegunn Choi
531dd6fb4f
Update copyright year
2025-07-02 22:10:05 +09:00
Junegunn Choi
ba035f2a76
Run preview command when preview window appears after CTRL-Z
...
80b8846318
2025-07-02 21:40:02 +09:00
Junegunn Choi
d34675d3c9
Fix panic caused by incorrect update ordering
...
Fix #4442
Make sure to prepare windows before rendering elements.
Thanks to @nugged for the report.
2025-07-02 21:28:11 +09:00
Junegunn Choi
397fe8e395
0.63.0
2025-06-28 01:11:00 +09:00