Set stdout & stderr unbuffered, so that the "telnet>" prompt

also shows up when output is redirected:

	telnet |& tee _log
This commit is contained in:
Poul-Henning Kamp 2020-12-29 21:05:48 +00:00
parent f53120073b
commit 3db1b221ed

View File

@ -121,6 +121,8 @@ main(int argc, char *argv[])
extern int forward_flags;
#endif /* FORWARD */
setbuf(stdout, NULL);
setbuf(stderr, NULL);
tninit(); /* Clear out things */
TerminalSaveState();