fzy

terminal fuzzy finder picker

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

commit 432e395b54b14d74fd10c478b51340667f86b7b5
parent a8756053f2cc4454aca94d5f9a9e896dec4a2133
Author: John Hawthorn <john.hawthorn@gmail.com>
Date:   Mon, 16 May 2016 19:05:58 -0700

Ensure last line is cleared on exit.

Previously we were failing to clear the very last line when exiting.

Thanks to Zaplanincan for reporting the issue.

Diffstat:
Mfzy.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/fzy.c b/fzy.c @@ -28,6 +28,7 @@ static void clear(tty_t *tty) { while (line++ < num_lines) { tty_newline(tty); } + tty_clearline(tty); tty_moveup(tty, line - 1); tty_flush(tty); }