summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-window.c
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-06-01 20:31:17 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-06-02 23:27:51 +0200
commitc35e31cad2c4c94817e9373436bc889bee6a4bea (patch)
treefa40988df49708ec570045ca2b8b8c0787df9951 /src/gui/curses/gui-curses-window.c
parent1dacb2de7f2681de1d8b874812f0f1ca07abe34a (diff)
downloadweechat-c35e31cad2c4c94817e9373436bc889bee6a4bea.zip
Add Alacritty title escape sequence support
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r--src/gui/curses/gui-curses-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index 20072a7a6..adfd174b9 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -2530,6 +2530,7 @@ gui_window_set_title (const char *title)
/* the following terminals support the xterm escape codes */
else if ((strncmp (envterm, "xterm", 5) == 0)
|| (strncmp (envterm, "rxvt", 4) == 0)
+ || (strncmp (envterm, "alacritty", 9) == 0)
|| (strcmp (envterm, "Eterm") == 0)
|| (strcmp (envterm, "aixterm") == 0)
|| (strcmp (envterm, "iris-ansi") == 0)