Add hidden panes and a "show desktop" button to the pane list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Michael Grant
2026-10-01 08:24:16 +01:00
parent 291c043080
commit d6cf5e0e4d
14 changed files with 281 additions and 48 deletions

View File

@@ -101,6 +101,8 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item)
else {
is_floating = window_pane_is_floating(wp);
flags |= SPAWN_SPLIT;
if (!is_floating && (wp->flags & PANE_HIDDEN))
window_show_pane(wp);
}
if (args_has(args, 'O')) {