commit 7f0141bbe92dc6c3423ff39d21e8ec5c18b58ec1 parent 6ae3c37e30f024d27e5b759f58a96c0bac0c5254 Author: Anselm R Garbe <garbeam@gmail.com> Date: Mon, 22 Dec 2014 11:34:35 +0100 applied Troels unbuffer stdin patch, thanks Diffstat:
M | sic.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sic.c b/sic.c @@ -181,6 +181,7 @@ main(int argc, char *argv[]) { fflush(srv); setbuf(stdout, NULL); setbuf(srv, NULL); + setbuf(stdin, NULL); for(;;) { /* main loop */ FD_ZERO(&rd); FD_SET(0, &rd);