Fixed reset escaping
This commit is contained in:
parent
2b1a4ad324
commit
e32b7f57c2
1 changed files with 1 additions and 0 deletions
|
@ -717,6 +717,7 @@ sub main
|
||||||
load_config;
|
load_config;
|
||||||
chop( $COLUMNS = `tput cols` );
|
chop( $COLUMNS = `tput cols` );
|
||||||
$RESET = $CONFIG{cfg_sgr0_reset} ? tput_sequence( 'sgr0' ) : "\033[0m";
|
$RESET = $CONFIG{cfg_sgr0_reset} ? tput_sequence( 'sgr0' ) : "\033[0m";
|
||||||
|
$RESET = '\\[' . $RESET . '\\]';
|
||||||
%TLEN = compute_trans_lengths;
|
%TLEN = compute_trans_lengths;
|
||||||
my $pg = gen_term_title;
|
my $pg = gen_term_title;
|
||||||
my $ps1 = $pg . gen_top_line;
|
my $ps1 = $pg . gen_top_line;
|
||||||
|
|
Loading…
Reference in a new issue