diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2016-05-16 19:05:58 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2016-05-16 19:07:57 -0700 |
commit | 60e3b9119c42c4a926d146f20bc64a193935b8f4 (patch) | |
tree | becdb461d942b38f57004e7ed98ab156a9f88d43 | |
parent | a7eacadd747767562a0ab9df25a8243a85396ee7 (diff) |
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.
-rw-r--r-- | fzy.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |