diff options
| author | Season Saw <season.saw@gmail.com> | 2026-07-27 07:25:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-27 02:25:29 +0300 |
| commit | a79b3d558026d0703f848882d652bb5db65df26e (patch) | |
| tree | 8287cd9eb2d9884b544899c28e0e415c8f9000d0 /src/cli | |
| parent | 7e96b1b7e8d3dcc1c12ae538598e5a955ac58c87 (diff) | |
fix: close workspace when api closes its last tab (#1899)
herdr tab close on a workspace's only tab returned tab_close_failed,
while the TUI close-tab action on the same tab closes the tab and
cascades to closing the workspace. Cascade in the API too, emitting
tab.closed then workspace.closed. When the cascade would close a whole
worktree group, return confirmation_required instead, matching
pane.close and the TUI prompt.
refs #1760
Diffstat (limited to 'src/cli')
0 files changed, 0 insertions, 0 deletions
