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.
This commit is contained in:
dequis 2017-06-23 21:53:16 -03:00
commit 0aafd011c0
3 changed files with 32 additions and 0 deletions

View file

@ -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)