1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 14:22:37 +03:00

Add comment

This commit is contained in:
grant0417 2023-03-06 12:56:51 -08:00 committed by Wez Furlong
parent 9782b71cf1
commit c3286f1bf9

View File

@ -509,6 +509,10 @@ impl Pane for LocalPane {
}); });
fn default_stateful_check(proc_list: &LocalProcessInfo) -> bool { fn default_stateful_check(proc_list: &LocalProcessInfo) -> bool {
// Fig uses `figterm` a pseudo terminal for a lot of functionality, it runs between
// the shell and terminal. Unfortunately it is typically named `<shell> (figterm)`,
// which prevents the statuful check from passing. This strips the suffix from the
// process name to allow the check to pass.
let names = proc_list let names = proc_list
.flatten_to_exe_names() .flatten_to_exe_names()
.into_iter() .into_iter()