Browse code

Flush at end of clear

John Hawthorn authored on 17/08/2014 03:45:00
Showing 1 changed files

  • fzy.c index 03782b0..a5efe4c 100644
... ...
@@ -95,7 +95,7 @@ void clear(tty_t *tty){
95 95
 		tty_newline(tty);
96 96
 	}
97 97
 	tty_moveup(tty, line-1);
98
-	tty_setcol(tty, 0);
98
+	tty_flush(tty);
99 99
 }
100 100
 
101 101
 #define TTY_COLOR_HIGHLIGHT TTY_COLOR_YELLOW