xterm title update inside paint() before done_paint()