diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-14 14:20:11 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-14 14:20:31 +0200 |
commit | 31a3bbafb41b3696077881b779f94d6f4cafb436 (patch) | |
tree | a13de971620ec5f750cbc2fd1475db5b025c47f3 /rin.c | |
parent | 7aca3e73faeb306b62edfb41e8459cdcdfe619dd (diff) | |
download | rtty-31a3bbafb41b3696077881b779f94d6f4cafb436.tar.gz |
rin.c: Add refreshes
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(); + } } } |