mirror of
https://github.com/MariaDB/server.git
synced 2025-07-20 10:24:14 +03:00
postfix after e3f5789ac0
- var/log/stdout.log contains escape sequences.
This commit is contained in:
@ -389,7 +389,7 @@ if (-t STDOUT) {
|
|||||||
if (IS_WINDOWS and HAVE_WIN32_CONSOLE) {
|
if (IS_WINDOWS and HAVE_WIN32_CONSOLE) {
|
||||||
$set_titlebar = sub {Win32::Console::Title $_[0];};
|
$set_titlebar = sub {Win32::Console::Title $_[0];};
|
||||||
} elsif (defined $ENV{TERM} and $ENV{TERM} =~ /xterm/) {
|
} elsif (defined $ENV{TERM} and $ENV{TERM} =~ /xterm/) {
|
||||||
$set_titlebar = sub { print "\e];$_[0]\a"; };
|
$set_titlebar = sub { syswrite STDOUT, "\e];$_[0]\a"; };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user