Add comment

This commit is contained in:
grant0417 authored and Wez Furlong committed 2023-03-06 15:00:40 -08:00
1 parent 9782b71cf1
commit c3286f1bf9
1 file changed
+4
+4
View File
@@ -509,6 +509,10 @@ impl Pane for LocalPane {
});
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
.flatten_to_exe_names()
.into_iter()