tui: support for OS controls in xterm emulation - currently only to set the window title.
winman: Widget::setTitle(), used by SDL now, and 'login' now sets the title via xterm escape sequences