commit a7c93e01ca67a6fd1fcb9aa81f448f27b9d87526 parent 5036846948d44ae0c3ba47da9d26d527ecaa0cfb Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 10 Oct 2014 20:02:34 +0000 fflush after clear Diffstat:
M | sob.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sob.c b/sob.c @@ -249,6 +249,7 @@ static void line_draw(void) { fprintf(outfp, "\x1b[2J\x1b[H"); /* clear */ + fflush(outfp); line_prompt(); fwrite(line.line, 1, line.bytesiz, outfp); line_cursor_move(line.colpos);