summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Bouthenot <kolter@openics.org>2005-11-16 10:20:50 +0000
committerEmmanuel Bouthenot <kolter@openics.org>2005-11-16 10:20:50 +0000
commit2229d341107de1c267191ef7070843731fe1a754 (patch)
tree63a5fe4a99ed8435b09a39b2df8b80824a1f6603
parentf29a08bc47654c88a6eefcc5ed9d86051361450c (diff)
downloadweechat-2229d341107de1c267191ef7070843731fe1a754.zip
add Eterm support for gui_window_set_title
-rw-r--r--src/gui/curses/gui-display.c2
-rw-r--r--weechat/src/gui/curses/gui-display.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c
index 6ac09991a..b8572a85b 100644
--- a/src/gui/curses/gui-display.c
+++ b/src/gui/curses/gui-display.c
@@ -3231,6 +3231,7 @@ gui_set_window_title ()
/* the following term supports the xterm excapes */
else if (strncmp (envterm, "xterm", 5) == 0
|| strncmp (envterm, "rxvt", 4) == 0
+ || strcmp (envterm, "Eterm") == 0
|| strcmp (envterm, "aixterm") == 0
|| strcmp (envterm, "iris-ansi") == 0
|| strcmp (envterm, "dtterm") == 0)
@@ -3263,6 +3264,7 @@ gui_reset_window_title ()
/* the following term supports the xterm excapes */
else if (strncmp (envterm, "xterm", 5) == 0
|| strncmp (envterm, "rxvt", 4) == 0
+ || strcmp (envterm, "Eterm") == 0
|| strcmp( envterm, "aixterm") == 0
|| strcmp( envterm, "iris-ansi") == 0
|| strcmp( envterm, "dtterm") == 0)
diff --git a/weechat/src/gui/curses/gui-display.c b/weechat/src/gui/curses/gui-display.c
index 6ac09991a..b8572a85b 100644
--- a/weechat/src/gui/curses/gui-display.c
+++ b/weechat/src/gui/curses/gui-display.c
@@ -3231,6 +3231,7 @@ gui_set_window_title ()
/* the following term supports the xterm excapes */
else if (strncmp (envterm, "xterm", 5) == 0
|| strncmp (envterm, "rxvt", 4) == 0
+ || strcmp (envterm, "Eterm") == 0
|| strcmp (envterm, "aixterm") == 0
|| strcmp (envterm, "iris-ansi") == 0
|| strcmp (envterm, "dtterm") == 0)
@@ -3263,6 +3264,7 @@ gui_reset_window_title ()
/* the following term supports the xterm excapes */
else if (strncmp (envterm, "xterm", 5) == 0
|| strncmp (envterm, "rxvt", 4) == 0
+ || strcmp (envterm, "Eterm") == 0
|| strcmp( envterm, "aixterm") == 0
|| strcmp( envterm, "iris-ansi") == 0
|| strcmp( envterm, "dtterm") == 0)