summaryrefslogtreecommitdiff
path: root/src/fe-text/irssi.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2017-06-23 21:53:16 -0300
committerdequis <dx@dxzone.com.ar>2018-01-06 18:04:01 -0300
commit0aafd011c0adc58ddf43783764b96fdd74578243 (patch)
treebd7952c20e642da93c45e3a3e36b8e71870e6053 /src/fe-text/irssi.c
parentc8012b2e574c6e1e25cf20ed31182323a492a98e (diff)
downloadirssi-0aafd011c0adc58ddf43783764b96fdd74578243.zip
Add a startup warning if the TERM var is wrong inside tmux/screen
One of the most common and confusing issues we get in #irssi, this should help identifying and mitigating it.
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r--src/fe-text/irssi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index ef443670..0288e4f1 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -207,6 +207,8 @@ static void textui_finish_init(void)
fe_settings_set_print("nick");
if (user_settings_changed & USER_SETTINGS_HOSTNAME)
fe_settings_set_print("hostname");
+
+ term_environment_check();
}
static void textui_deinit(void)