Skip to content

v0.4

Latest

Choose a tag to compare

@leo-arch leo-arch released this 18 Aug 01:31
· 8 commits to master since this release
ce11f29

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-scores not honoring --pad.
  • Missing options in the manpage compared to --help.
  • PgUp/PgDn ignores --cycle when 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:-1 breaks the interface.

New features/Improvements 😎 :godmode:

  • Add --no-clear option to prevent clearing the interface on exit.
  • Reduced flickering when scrolling the list of matches.
  • Use --separator to 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=0 to 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 -r and -c short options for --reverse and --cycle respectively.
  • --lines defaults to half of terminal height (instead of 10).
  • Add --height as an alias for --lines.
  • Set case sensitivity mode with --case=respect|ignore|smart (defaults to smart).
  • Add --no-bold to disable bold colors.
  • Set the base color scheme using --color-scheme=dark|light|16 (defaults to dark).
  • Use --ghost to set ghost text when input is empty.

Misc

  • Rename --pad option to --padding (--pad still works).