mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* main.c (update_xterm_title_path): Use is_printable().
This commit is contained in:
parent
a132b94cf9
commit
a9440f0320
@ -1,3 +1,7 @@
|
||||
2003-01-27 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* main.c (update_xterm_title_path): Use is_printable().
|
||||
|
||||
2003-01-24 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* slint.c (slang_reset_softkeys): Cast arguments from size_t to
|
||||
|
@ -1844,7 +1844,7 @@ update_xterm_title_path (void)
|
||||
if (xterm_flag && xterm_title) {
|
||||
p = s = g_strdup (strip_home_and_password (cpanel->cwd));
|
||||
do {
|
||||
if (*s <= 32)
|
||||
if (!is_printable (*s))
|
||||
*s = '?';
|
||||
} while (*++s);
|
||||
fprintf (stdout, "\33]0;mc - %s\7", p);
|
||||
|
Loading…
Reference in New Issue
Block a user