Changed minimised semantics to hide semantics

This commit is contained in:
Dane Jensen
2026-05-16 19:22:46 -07:00
parent f8e908b89c
commit 0a7b008b21
14 changed files with 143 additions and 142 deletions

View File

@@ -2249,14 +2249,14 @@ format_cb_pane_marked_set(struct format_tree *ft)
return (NULL);
}
/* Callback for pane_minimised_flag. */
/* Callback for pane_hidden_flag. */
static void *
format_cb_pane_minimised_flag(struct format_tree *ft)
format_cb_pane_hidden_flag(struct format_tree *ft)
{
struct window_pane *wp = ft->wp;
if (wp != NULL) {
if (wp->flags & PANE_MINIMISED)
if (wp->flags & PANE_HIDDEN)
return (xstrdup("1"));
return (xstrdup("0"));
}
@@ -3460,8 +3460,8 @@ static const struct format_table_entry format_table[] = {
{ "pane_marked_set", FORMAT_TABLE_STRING,
format_cb_pane_marked_set
},
{ "pane_minimised_flag", FORMAT_TABLE_STRING,
format_cb_pane_minimised_flag
{ "pane_hidden_flag", FORMAT_TABLE_STRING,
format_cb_pane_hidden_flag
},
{ "pane_mode", FORMAT_TABLE_STRING,
format_cb_pane_mode