mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 14:23:52 +08:00
Fix regression not ignoring fish_trace when writing title
This commit is contained in:
parent
6446289f41
commit
9b1acd5260
|
@ -1405,7 +1405,7 @@ void reader_write_title(const wcstring &cmd, const parser_t &parser, bool reset_
|
|||
cleanup_t noninteractive{[&] { parser.libdata_pods_mut().is_interactive = is_interactive; }};
|
||||
// todo!("use scoped push")
|
||||
bool suppress_fish_trace = parser.libdata_pods().suppress_fish_trace;
|
||||
parser.libdata_pods_mut().suppress_fish_trace = false;
|
||||
parser.libdata_pods_mut().suppress_fish_trace = true;
|
||||
cleanup_t in_title{
|
||||
[&] { parser.libdata_pods_mut().suppress_fish_trace = suppress_fish_trace; }};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user