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