Commit d301d13
committed
tui/tabbar: Prevent closing the last remaining tab
Ignore close tab key (Ctrl+W) when only one tab remains open.
This prevents accidentally clearing the current session and preserves
muscle memory for users who expect Ctrl+W to delete the last word in
single-tab scenarios.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>1 parent 2cceb97 commit d301d13
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
0 commit comments