fzy
terminal fuzzy finder picker
git clone https://9o.is/git/fzy.git
commit f2366a5db363064eb01a3da9bfa9b672d34ba9a8 parent a045f522e632154f0a3b199abae5083b5efed519 Author: John Hawthorn <john.hawthorn@gmail.com> Date: Sun, 21 Sep 2014 14:04:56 -0700 Specify const char * Diffstat:
| M | fzy.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fzy.c b/fzy.c @@ -203,8 +203,8 @@ static struct option longopts[] = { int main(int argc, char *argv[]){ int benchmark = 0; - char *initial_query = NULL; - char *tty_filename = "/dev/tty"; + const char *initial_query = NULL; + const char *tty_filename = "/dev/tty"; char c; while((c = getopt_long(argc, argv, "vhse:l:t:p:", longopts, NULL)) != -1){ switch(c){