author | noname <noname@inventati.org> | |
Fri, 25 Apr 2014 14:48:38 +0000 (18:48 +0400) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 13 May 2014 07:21:43 +0000 (09:21 +0200) | ||
commit | 369b13a2af81efe79f1dde1ccebedd7a7b049b80 | |
tree | b8bbd0241c31d5bcc7397e9b37b0825af6c41931 | tree | snapshot |
parent | 95825c825148b2b3b9ce41ebefb16f5ff249cec5 | commit | diff |
Flush stdout to change xterm title.
If stdout is not flushed, printf may not terminate control string
properly. This way xterm title changes only sometimes.
Also use standard (ECMA-048) control string terminator ^[\ instead of \a.
If stdout is not flushed, printf may not terminate control string
properly. This way xterm title changes only sometimes.
Also use standard (ECMA-048) control string terminator ^[\ instead of \a.
src/screen_utils.c | diff | blob | history |