fzy
terminal fuzzy finder picker
git clone https://9o.is/git/fzy.git
options.h
(501B)
1 #ifndef OPTIONS_H
2 #define OPTIONS_H OPTIONS_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 typedef struct {
9 int benchmark;
10 const char *filter;
11 const char *init_search;
12 const char *tty_filename;
13 int show_scores;
14 unsigned int num_lines;
15 const char *prompt;
16 unsigned int workers;
17 char input_delimiter;
18 int show_info;
19 int multi;
20 int no_color;
21 } options_t;
22
23 void options_init(options_t *options);
24 void options_parse(options_t *options, int argc, char *argv[]);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif