mirror of
https://github.com/tmux/tmux.git
synced 2026-10-09 19:54:22 +00:00
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:
@@ -264,7 +264,7 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item)
|
||||
return (CMD_RETURN_NORMAL);
|
||||
}
|
||||
|
||||
if (wp == w->active)
|
||||
if (wp == w->active && (~wp->flags & PANE_HIDDEN))
|
||||
return (CMD_RETURN_NORMAL);
|
||||
if (w->modal != NULL && wp != w->modal)
|
||||
visible = 1;
|
||||
|
||||
Reference in New Issue
Block a user