From bb34ce585e204e43db2878fbf9b7a02ae304cd31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Thu, 26 Aug 2021 19:55:08 +0200 Subject: [PATCH] Add tmux and alacritty to title_term_types Resolves #1130 --- src/terminal/terminaldisplayinit.cc | 5 ++--- 1 file 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;