aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Naïm Favier <n@monade.li>2021-08-26 19:55:08 +0200
committerGravatar GitHub <noreply@github.com>2021-08-26 19:55:08 +0200
commitbb34ce585e204e43db2878fbf9b7a02ae304cd31 (patch)
treec2026783937f4ab00db842c77387da87c9dd4783 /src
parente023e81c08897c95271b4f4f0726ec165bb6e1bd (diff)
Add tmux and alacritty to title_term_types
Resolves #1130
Diffstat (limited to 'src')
-rw-r--r--src/terminal/terminaldisplayinit.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/terminal/terminaldisplayinit.cc b/src/terminal/terminaldisplayinit.cc
index 54dfcc9..6dffc51 100644
--- a/src/terminal/terminaldisplayinit.cc
+++ b/src/terminal/terminaldisplayinit.cc
@@ -112,10 +112,9 @@ Display::Display( bool use_environment )
/* 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
- terminal type prefixes. This is the list from Debian's default
- screenrc, plus "screen" itself (which also covers tmux). */
+ terminal type prefixes. */
static const char * const title_term_types[] = {
- "xterm", "rxvt", "kterm", "Eterm", "screen"
+ "xterm", "rxvt", "kterm", "Eterm", "alacritty", "screen", "tmux"
};
has_title = false;