Code

Flush stdout to change xterm title.
authornoname <noname@inventati.org>
Fri, 25 Apr 2014 14:48:38 +0000 (18:48 +0400)
committerMax Kellermann <max@duempel.org>
Tue, 13 May 2014 07:21:43 +0000 (09:21 +0200)
commit369b13a2af81efe79f1dde1ccebedd7a7b049b80
treeb8bbd0241c31d5bcc7397e9b37b0825af6c41931
parent95825c825148b2b3b9ce41ebefb16f5ff249cec5
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.
src/screen_utils.c