Add tmux and alacritty to title_term_types

Resolves #1130
This commit is contained in:
Naïm Favier
2021-08-26 19:55:08 +02:00
committed by GitHub
parent e023e81c08
commit bb34ce585e
+2 -3
View File
@@ -112,10 +112,9 @@ Display::Display( bool use_environment )
/* Check if we can set the window title and icon name. terminfo does not /* Check if we can set the window title and icon name. terminfo does not
have reliable information on this, so we hardcode a whitelist of have reliable information on this, so we hardcode a whitelist of
terminal type prefixes. This is the list from Debian's default terminal type prefixes. */
screenrc, plus "screen" itself (which also covers tmux). */
static const char * const title_term_types[] = { static const char * const title_term_types[] = {
"xterm", "rxvt", "kterm", "Eterm", "screen" "xterm", "rxvt", "kterm", "Eterm", "alacritty", "screen", "tmux"
}; };
has_title = false; has_title = false;