Repository navigation
Commit b3ad18f
fix(web): the thread search shortcut sees terminal and preview state
A keybinding's `when` clause reads `terminalOpen` and `previewOpen` from the
scope's context. The shortcut's registration passed no context, so both read
false, and a rule with `when: "terminalOpen"` never fired, even with the
terminal open. The registration now passes both, read when the key is
pressed, as the app shell's own scopes do.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent e8793ec commit b3ad18f
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
2899 | 2900 | | |
2900 | 2901 | | |
2901 | 2902 | | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
2902 | 2909 | | |
2903 | 2910 | | |
2904 | | - | |
2905 | | - | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
2906 | 2917 | | |
2907 | 2918 | | |
2908 | 2919 | | |
| |||
0 commit comments