Set stdout & stderr unbuffered, so that the "telnet>" prompt
also shows up when output is redirected: telnet |& tee _log
This commit is contained in:
parent
f53120073b
commit
3db1b221ed
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user