keithw/mosh — pull request #191 by kmcallister (2012-04-16 11:07:59+00:00)
Title: Hardcode the terminals which accept "set window title"

terminfo does not have reliable information on this, so we hardcode a whitelist of terminal type prefixes. This is the list from Debian's default screenrc, plus "screen" itself (which also covers tmux).

Tested on rxvt and Linux console vt.

Closes #172.