version 1.311, 2023/02/07 10:21:01 |
version 1.312, 2023/03/27 08:47:57 |
|
|
return (NULL); |
return (NULL); |
} |
} |
|
|
|
/* Callback for pane_unseen_changes. */ |
|
static void * |
|
format_cb_pane_unseen_changes(struct format_tree *ft) |
|
{ |
|
if (ft->wp != NULL) { |
|
if (ft->wp->flags & PANE_UNSEENCHANGES) |
|
return (xstrdup("1")); |
|
return (xstrdup("0")); |
|
} |
|
return (NULL); |
|
} |
|
|
/* Callback for pane_last. */ |
/* Callback for pane_last. */ |
static void * |
static void * |
format_cb_pane_last(struct format_tree *ft) |
format_cb_pane_last(struct format_tree *ft) |
|
|
}, |
}, |
{ "pane_tty", FORMAT_TABLE_STRING, |
{ "pane_tty", FORMAT_TABLE_STRING, |
format_cb_pane_tty |
format_cb_pane_tty |
|
}, |
|
{ "pane_unseen_changes", FORMAT_TABLE_STRING, |
|
format_cb_pane_unseen_changes |
}, |
}, |
{ "pane_width", FORMAT_TABLE_STRING, |
{ "pane_width", FORMAT_TABLE_STRING, |
format_cb_pane_width |
format_cb_pane_width |