diff options
author | nicm <nicm> | 2014-10-25 08:47:04 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-10-25 08:47:04 +0000 |
commit | 428b51e03187f13ccaf1451fb89d53848facab6d (patch) | |
tree | 62fb40a76d17fe31b9ce81b21113a3fa13261f7c /format.c | |
parent | abfb9656ef4404cff7847032cd4722eb0af55ee3 (diff) |
Add pane_input_off format, from Anish R Athalye.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -554,6 +554,7 @@ format_window_pane(struct format_tree *ft, struct window_pane *wp) format_add(ft, "pane_id", "%%%u", wp->id); format_add(ft, "pane_active", "%d", wp == wp->window->active); format_add(ft, "pane_dead", "%d", wp->fd == -1); + format_add(ft, "pane_input_off", "%d", !!(wp->flags & PANE_INPUTOFF)); if (window_pane_visible(wp)) { format_add(ft, "pane_left", "%u", wp->xoff); |