close the active window with Alt+Delete, not the whole tab

This commit is contained in:
Andrew Hamilton 2026-08-22 22:03:34 +10:00
parent 118f5c276a
commit 39329347f6
4 changed files with 93 additions and 15 deletions

View file

@ -199,7 +199,7 @@ every surface individually reachable, which is kick's original model.
| `Alt+Down` | Next tab (hold to keep cycling) |
| `Alt+Shift+Up` | Move the active tab earlier in the list |
| `Alt+Shift+Down` | Move the active tab later in the list |
| `Alt+Delete` | Close the active tab (SIGTERM, SIGKILL fallback) |
| `Alt+Delete` | Close the active window (or the tab when it's the only window) |
| `Alt+Shift+T` | Open a new terminal tab next to the current one |
| `` Alt+` `` | Cycle the active tab's tab-group windows (hold to keep cycling) |
@ -247,10 +247,12 @@ Both `Alt+Up/Down` and `Alt+Shift+Up/Down` are grabbed: kick consumes them
so the focused client never receives the chord (e.g. a terminal can't act on
`Shift`+arrow while you reorder).
`Alt+Delete` closes the active tab. The tab disappears immediately (the tab
to its right becomes active, or the left neighbor if it was the rightmost);
the client's process group gets a `SIGTERM`, escalated to `SIGKILL` after a
short grace if it ignores the signal. A tab that closes on its own (its
`Alt+Delete` closes the active window. When the tab holds more than one window
(a tab group), only the focused window closes and the tab stays up; when it is
the tab's only window, the whole tab disappears immediately (the tab to its
right becomes active, or the left neighbor if it was the rightmost); the
client's process group gets a `SIGTERM`, escalated to `SIGKILL` after a short
grace if it ignores the signal. A window or tab that closes on its own (its
program exits) instead hands active off to the left neighbor.
Function keys are **not** grabbed: `F9`/`F10`/`F11` (and anything else) are