summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-01-07 11:43:13 +0100
committerGitHub <noreply@github.com>2018-01-07 11:43:13 +0100
commit0d5e353ef1be253106ed66417b270d03b2b91ed3 (patch)
tree1a08bf635d6162f3a1adf191961db81bc2099155
parent0aafd011c0adc58ddf43783764b96fdd74578243 (diff)
downloadirssi-0d5e353ef1be253106ed66417b270d03b2b91ed3.zip
Reword warning message
Include multiplexer name in TERM recommendation
-rw-r--r--src/fe-text/term-terminfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c
index d96e235d..f4c4d17c 100644
--- a/src/fe-text/term-terminfo.c
+++ b/src/fe-text/term-terminfo.c
@@ -735,9 +735,9 @@ void term_gets(GArray *buffer, int *line_count)
}
static const char* term_env_warning =
- "The TERM environment variable is set to '%s' which can cause display "
- "glitches when running under %s.\n"
- "Consider changing TERM to 'screen' or 'screen-256color' instead.";
+ "You seem to be running Irssi inside %2$s, but the TERM environment variable"
+ "is set to '%1$s', which can cause display glitches.\n"
+ "Consider changing TERM to '%2$s' or '%2$s-256color' instead.";
void term_environment_check(void)
{