zhang_ji
a6ae8281c1
[model] sort the matched items.
2016-06-24 16:18:50 +08:00
zhang_ji
74b7ed6da0
[fuzzy] add fuzzy search algorithm
...
Compare the query and choice/item character by character. sorting is not
implemented yet.
2016-06-22 16:00:51 +08:00
zhang_ji
6816c22d00
[input] fix stdin conflict between input and reader
...
Input used `wget_wch` to fetch keys pressed which occupys stdin of terminal,
thus causes reader failure in reading from stdin. So fzf-rs won't be able to
handle input from stdin.
Now the input is read from `/dev/tty` file. Requires nightly to build.
2016-06-22 11:57:50 +08:00
zhang_ji
5147927e74
[module] move the structs into different modules
2016-06-15 17:11:43 +08:00
zhang_ji
6ec6cfb978
Finish the basic interaction
...
1. toggle selection of an entry
2. scroll up/down
3. output the selected item
2016-06-15 16:03:51 +08:00
zhang_ji
72252243d1
[item] use struct instead of pure string to represent item
2016-06-15 12:26:13 +08:00
zhang_ji
3b8cb88a5c
basic structure for reader/matcher/input done.
2016-06-13 16:38:01 +08:00
zhang_ji
c9885784ee
[main] first version of input/model done.
2016-06-13 15:52:43 +08:00
zhang_ji
2b603c53e5
[main] reader/matcher communication done.
2016-06-13 13:56:42 +08:00
zhang_ji
3377e7f006
[util] add generic type support for eventbox
2016-06-13 12:39:48 +08:00
Mark Wallace
829d713444
[eventbox] done. wrapper of condvar and mutex for event handling.
2016-06-10 11:00:53 +08:00
Mark Wallace
7c1f34d8ba
tmp commit
2016-06-06 08:20:41 +08:00
Mark Wallace
19b575cd3a
[reader] draft version for reader done.
...
read lines from stdin or from command's output(`find .`)
2016-06-04 14:52:04 +08:00
Mark Wallace
4466964792
add ncurses dependency
2016-05-29 14:27:09 +08:00
Jinzhou Zhang
cd3ef3c36e
Initial commit
2016-05-29 14:24:47 +08:00