mirror of
https://github.com/tmux/tmux.git
synced 2026-05-30 22:26:18 +00:00
Remove minimise from staging branch for the moment.
This commit is contained in:
17
format.c
17
format.c
@@ -2249,20 +2249,6 @@ format_cb_pane_marked_set(struct format_tree *ft)
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
/* Callback for pane_minimised_flag. */
|
||||
static void *
|
||||
format_cb_pane_minimised_flag(struct format_tree *ft)
|
||||
{
|
||||
struct window_pane *wp = ft->wp;
|
||||
|
||||
if (wp != NULL) {
|
||||
if (wp->flags & PANE_MINIMISED)
|
||||
return (xstrdup("1"));
|
||||
return (xstrdup("0"));
|
||||
}
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
/* Callback for pane_mode. */
|
||||
static void *
|
||||
format_cb_pane_mode(struct format_tree *ft)
|
||||
@@ -3460,9 +3446,6 @@ 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_mode", FORMAT_TABLE_STRING,
|
||||
format_cb_pane_mode
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user