summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2014-08-16 20:45:00 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2014-08-16 20:45:18 -0700
commit41c8d3f8215841269ebe52d13c660d2093d37072 (patch)
tree0c39f53ba029b87f129f8cfd87c39f5a486db871
parentd0d1174ef5df7e9f07854b340b17764dcffdc167 (diff)
Flush at end of clear
-rw-r--r--fzy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fzy.c b/fzy.c
index 03782b0..a5efe4c 100644
--- a/fzy.c
+++ b/fzy.c
@@ -95,7 +95,7 @@ void clear(tty_t *tty){
tty_newline(tty);
}
tty_moveup(tty, line-1);
- tty_setcol(tty, 0);
+ tty_flush(tty);
}
#define TTY_COLOR_HIGHLIGHT TTY_COLOR_YELLOW