Commit d4d63a2
authored
fix(ui): prevent errors when restoring invalid window (#1539)
- Add a check in Overlay:restore to ensure the window is valid before
attempting to set the buffer, preventing errors if the window was
closed.
- Scope the close keymap in chat buffer to the buffer only, avoiding
global keymap pollution.
Closes #15351 parent 9fec6c3 commit d4d63a2
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
| |||
0 commit comments