mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 06:54:45 +03:00
Filter figterm from stateful check
This commit is contained in:
parent
55982436d9
commit
9782b71cf1
@ -509,7 +509,14 @@ impl Pane for LocalPane {
|
||||
});
|
||||
|
||||
fn default_stateful_check(proc_list: &LocalProcessInfo) -> bool {
|
||||
let names = proc_list.flatten_to_exe_names();
|
||||
let names = proc_list
|
||||
.flatten_to_exe_names()
|
||||
.into_iter()
|
||||
.map(|s| match s.strip_suffix(" (figterm)") {
|
||||
Some(s) => s.into(),
|
||||
None => s,
|
||||
})
|
||||
.collect::<HashSet<_>>();
|
||||
|
||||
let skip = configuration()
|
||||
.skip_close_confirmation_for_processes_named
|
||||
|
Loading…
Reference in New Issue
Block a user