mirror of https://github.com/MidnightCommander/mc
(update_xterm_title_path): change the escape sequence's terminator
...from \a to \e\\. Various standards (at least ECMA-48 and DEC STD 070) agree that an OSC is to be terminated by an ST, i.e. \e\\. Using BEL \a is a nonstandard solution introduced and popularized by xterm. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
5e9fac5c94
commit
e777f75397
|
@ -1568,7 +1568,7 @@ update_xterm_title_path (void)
|
|||
g_free (login);
|
||||
g_free (path);
|
||||
|
||||
fprintf (stdout, "\33]0;%s\7", str_term_form (p));
|
||||
fprintf (stdout, "\33]0;%s\33\\", str_term_form (p));
|
||||
g_free (p);
|
||||
|
||||
if (!mc_global.tty.alternate_plus_minus)
|
||||
|
|
Loading…
Reference in New Issue