From 0d5e353ef1be253106ed66417b270d03b2b91ed3 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Sun, 7 Jan 2018 11:43:13 +0100 Subject: Reword warning message Include multiplexer name in TERM recommendation --- src/fe-text/term-terminfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fe-text') 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) { -- cgit v1.2.3