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). Closes #172. Closes #191.
This commit is contained in:
committed by
Keith Winstein
parent
feb352c809
commit
c390ee9b80
@@ -56,6 +56,8 @@ namespace Terminal {
|
||||
|
||||
bool has_bce; /* erases result in cell filled with background color */
|
||||
|
||||
bool has_title; /* supports window title and icon name */
|
||||
|
||||
int posterize_colors; /* downsample input colors >8 to [0..7] */
|
||||
|
||||
void put_cell( bool initialized, FrameState &frame, const Framebuffer &f ) const;
|
||||
|
||||
Reference in New Issue
Block a user