Made sure that the colors are reset more often; it should now happen much less often
that the terminal's color is changed when the app is quit (or interrupted). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19381 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f9e5811b92
commit
03ac1086c1
@ -722,6 +722,7 @@ dprintf(const char *format,...)
|
||||
printf("\33[34m");
|
||||
vprintf(format, args);
|
||||
printf("\33[0m");
|
||||
fflush(stdout);
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
|
@ -822,7 +822,7 @@ domain_receive_data(net_buffer *buffer)
|
||||
if (lastTime == 0)
|
||||
lastTime = now;
|
||||
|
||||
printf("% 3ld %8.6f (%8.6f) ", packetNumber, (now - sStartTime) / 1000000.0,
|
||||
printf("\33[0m% 3ld %8.6f (%8.6f) ", packetNumber, (now - sStartTime) / 1000000.0,
|
||||
(now - lastTime) / 1000000.0);
|
||||
lastTime = now;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user