Releases: leo-arch/fnf
Releases · leo-arch/fnf
v0.4
Fnf 0.4
Bug fixes 🪲 🐛
- No entry emitted (upon pressing Enter) after deselecting (via Tab) all entries.
- Crash with
--read-null. - Info not padded when not running with
--reverse. --show-scoresnot honoring--pad.- Missing options in the manpage compared to
--help. - PgUp/PgDn ignores
--cyclewhen selection is first/last respectively. - If running with --show-scores, the score for a full match is 'inf'.
- Default colors not loaded if FNF_COLORS is set.
- 16-colors are not actually 4bit, but 256-color.
--color=sel-fg:-1breaks the interface.
New features/Improvements 😎 
- Add
--no-clearoption to prevent clearing the interface on exit. - Reduced flickering when scrolling the list of matches.
- Use
--separatorto print a horizontal separator on the info line. - Add number of selected items to the info line.
- Customize the info line, item score, item foreground, gutter, separator, and query colors. E.g.:
--color="info:222,score:128,fg:245:1,gutter:236,query:74,separator:240". - Scores are surrounded by square brackets instead of parentheses.
- Improved default colors
- Scrolloff set by default to half available entries (run with
--scroll-off=0to restore the previous behavior). - Use Ctrl+f and Ctrl+b to move the cursor forward and backward respectively.
- Use Ctrl+PgUp and Ctrl+PgDn jump to the first and last available items respectively.
- Highlight matches forward, instead of backwards.
- Highly improved Unicode matching.
- Add
-rand-cshort options for--reverseand--cyclerespectively. --linesdefaults to half of terminal height (instead of 10).- Add
--heightas an alias for--lines. - Set case sensitivity mode with
--case=respect|ignore|smart(defaults tosmart). - Add
--no-boldto disable bold colors. - Set the base color scheme using
--color-scheme=dark|light|16(defaults todark). - Use
--ghostto set ghost text when input is empty.
Misc
- Rename
--padoption to--padding(--padstill works).
v0.3.1
Fnf 0.3.1
Bug fixes 🪲 🐛
- Home and End keys not working on VTE and rxvt terminals.
- The Del key does not work.
- Wide Unicode characters (such as CJK) break the interface.
New features/Improvements 😎 
- Ctrl+d works the same as Del, but aborts fnf if the qeury is empty.
v0.3
Fnf 0.3
Bug fixes 🪲 🐛
- Selection foreground color ignored when entry is already colorized.
- Cursor flickering on VTE terminals when running with
--reverse. --show-infonot working with--reverse.- Phantom lines when running with
--reverseand--linesis set to cover the entire terminal screen. --lines=autonot working with--show-info(phantom lines).- PgUp and PgDn do cycle even if cycling is disabled.
New features/Improvements 😎 
- Set custom colors (256/truecolor) using
--coloror $FNF_COLORS (see the manpage). - Default selection color changed to bold white on gray for enhanced contrast.
- Allow the use of strings, including Unicode, for pointer and marker (e.g.
fnf --pointer="┃" --pointer="✔"). - Default to Unicode decorations (disable with
--no-unicode). - Add
--print-null(print output delimited by NUL characters). - Minimize screen flickering.
- Add
--no-sortoption to get unsorted results. - Use Shift-TAB (btab) to (un)mark the current item and select the previous item.