When it outright doesn't work, just cache that state rather than repeatedly querying it. refs: https://github.com/wez/wezterm/issues/3082
When it outright doesn't work, just cache that state rather than repeatedly querying it. refs: https://github.com/wez/wezterm/issues/3082