Browse code

Version 1.1

John Hawthorn authored on 12/07/2025 06:54:23
Showing 4 changed files

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