fzy

terminal fuzzy finder picker

git clone https://9o.is/git/fzy.git

commit 374540355097109bc4a54267af3210afa95ed527
parent feb60a125733f62427f92a490edfa0f679c5ea52
Author: John Hawthorn <john@hawthorn.email>
Date:   Fri, 11 Jul 2025 23:54:23 -0700

Version 1.1

Diffstat:
MCHANGELOG.md | 12++++++++++++
MMakefile | 2+-
Mfzy.1 | 6+++++-
Msrc/options.c | 2+-
4 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 1.1 (Unreleased) + +Features: + + - Add `-i`/`--show-info` to display selection information + - Add `-0` to use null as input delimiter + - Support Ctrl-G to cancel/exit + +Bugfixes: + + - Avoid terminal flicker with large outputs + ## 1.0 (2018-09-23) Features: diff --git a/Makefile b/Makefile @@ -1,4 +1,4 @@ -VERSION=1.0 +VERSION=1.1 CPPFLAGS=-DVERSION=\"${VERSION}\" -D_GNU_SOURCE CFLAGS+=-MD -Wall -Wextra -g -std=c99 -O3 -pedantic -Ideps -Werror=vla diff --git a/fzy.1 b/fzy.1 @@ -1,4 +1,4 @@ -.TH FZY 1 "2018-09-23" "fzy 1.0" +.TH FZY 1 "2025-07-12" "fzy 1.1" .SH NAME fzy \- A fuzzy text selector menu for the terminal. .SH SYNOPSIS @@ -45,6 +45,10 @@ Non-interactive mode. Print the matches in sorted order for QUERY to stdout. Read input delimited by ASCII NUL characters. . .TP +.BR \-i ", " \-\-show-info +Show selection info line. +. +.TP .BR \-h ", " \-\-help Usage help. . diff --git a/src/options.c b/src/options.c @@ -63,7 +63,7 @@ void options_parse(options_t *options, int argc, char *argv[]) { while ((c = getopt_long(argc, argv, "vhs0e:q:l:t:p:j:i", longopts, NULL)) != -1) { switch (c) { case 'v': - printf("%s " VERSION " © 2014-2018 John Hawthorn\n", argv[0]); + printf("%s " VERSION " © 2014-2025 John Hawthorn\n", argv[0]); exit(EXIT_SUCCESS); case 's': options->show_scores = 1;