aboutsummaryrefslogtreecommitdiff
path: root/rin.c
diff options
context:
space:
mode:
Diffstat (limited to 'rin.c')
-rw-r--r--rin.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/rin.c b/rin.c
index fe32cdb..6af10b8 100644
--- a/rin.c
+++ b/rin.c
@@ -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();
+ }
}
}