Escape terminal title sequence
This commit is contained in:
parent
9907544111
commit
d6fc8dcacb
1 changed files with 1 additions and 0 deletions
1
spp.pl
1
spp.pl
|
@ -587,6 +587,7 @@ sub gen_term_title
|
|||
my $out = '';
|
||||
$out .= "\\033]0;$main\\007" if $CONFIG{term_set_title} & 1;
|
||||
$out .= "\\033]1;$main\\007" if $CONFIG{term_set_title} & 2;
|
||||
$out = "\\[$out\\]" if $out;
|
||||
return $out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue