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 | |
parent | abfb9656ef4404cff7847032cd4722eb0af55ee3 (diff) | |
download | rtmux-428b51e03187f13ccaf1451fb89d53848facab6d.tar.gz rtmux-428b51e03187f13ccaf1451fb89d53848facab6d.tar.bz2 rtmux-428b51e03187f13ccaf1451fb89d53848facab6d.zip |
Add pane_input_off format, from Anish R Athalye.
-rw-r--r-- | format.c | 1 | ||||
-rw-r--r-- | tmux.1 | 1 |
2 files changed, 2 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); @@ -3099,6 +3099,7 @@ The following variables are available, where appropriate: .It Li "pane_height" Ta "" Ta "Height of pane" .It Li "pane_id" Ta "#D" Ta "Unique pane ID" .It Li "pane_in_mode" Ta "" Ta "If pane is in a mode" +.It Li "pane_input_off" Ta "" Ta "If input to pane is disabled" .It Li "pane_index" Ta "#P" Ta "Index of pane" .It Li "pane_left" Ta "" Ta "Left of pane" .It Li "pane_pid" Ta "" Ta "PID of first process in pane" |