Bugfixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Michael Grant
2026-10-01 16:03:16 +01:00
parent 435e2f8efb
commit 2345f71df9
5 changed files with 266 additions and 29 deletions

View File

@@ -115,9 +115,13 @@ cmd_resize_pane_exec(struct cmd *self, struct cmdq_item *item)
if (args_has(args, 'H')) {
if (args_has(args, 'a'))
cmd_resize_pane_desktop(w);
else if (wp->flags & PANE_HIDDEN)
else if (wp->flags & PANE_HIDDEN) {
window_set_active_pane(w, wp, 1);
else
if (wp->flags & PANE_HIDDEN) {
cmdq_error(item, "no space to show pane");
return (CMD_RETURN_ERROR);
}
} else
window_hide_pane(wp);
server_redraw_window(w);
return (CMD_RETURN_NORMAL);