diff options
Diffstat (limited to 'rin.c')
-rw-r--r-- | rin.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -37,6 +37,7 @@ main() nout = read(out, bufout, MAXBUF); bufout[nout+1] = 0; printw("%s", bufout); + refresh(); startx = -1; } @@ -49,6 +50,7 @@ main() reset: bufin[0] = nin = 0; y = getcury(w); move(y, startx); + refresh(); continue; } @@ -58,8 +60,10 @@ reset: bufin[0] = nin = 0; bufin[nin] = 0; dprintf(in, "%s", bufin); goto reset; - }else + }else{ printw("%c", c); + refresh(); + } } } |