Flush stdout/stderr after newline
git-svn-id: http://tint2.googlecode.com/svn/trunk@760 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
committed by
mrovi9000@gmail.com
parent
eef4987b0b
commit
b78c854700
@@ -1082,6 +1082,10 @@ int main (int argc, char *argv[])
|
||||
struct timeval* timeout;
|
||||
int hidden_dnd = 0;
|
||||
|
||||
// Make stdout/stderr flush after a newline (for some reason they don't even if tint2 is started from a terminal)
|
||||
setlinebuf(stdout);
|
||||
setlinebuf(stderr);
|
||||
|
||||
start:
|
||||
init (argc, argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user