fix enhanced mode in console.pl

This commit is contained in:
Dirk Koopman 2021-12-10 23:53:57 +00:00
parent 74db48555c
commit 2f876d1acd

View File

@ -245,7 +245,7 @@ sub addtotop
if (length $inbuf > $cols) {
$Text::Wrap::columns = $cols;
my $token;
($token) = $inbuf =~ m!^(.* de [-\w\d/\#]+\s+|\w{9}\@\d\d:\d\d:\d\d )!;
($token) = $inbuf =~ m!^(.* de [-\w\d/\#]+:?\s+|\w{9}\@\d\d:\d\d:\d\d )!;
$token ||= ' ' x 19;
push @sh, split /\n/, wrap('', ' ' x length($token), $inbuf);
} else {