Commit e8eaabe
committed
fix(cli): invert Ctrl+T toggle priority to collapse-first
Change the toggle-all behavior so that Ctrl+T primarily collapses
open subagent toggles. Only expands all when everything is already
collapsed.
Previous behavior:
- Any expanded → collapse all
- All collapsed → expand all
New behavior:
- Any expanded → collapse all (primary action)
- All collapsed → expand all (only when everything closed)
This fixes the issue where users had to press Ctrl+T twice to
collapse toggles in certain states.1 parent 9c26370 commit e8eaabe
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
214 | 216 | | |
215 | 217 | | |
216 | 218 | | |
| |||
0 commit comments