diff options
author | nicm <nicm> | 2017-07-07 14:39:45 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-07-07 14:39:45 +0000 |
commit | 9913cce3ba0f6c35970990ac2cbe9a83e3dc729d (patch) | |
tree | 122b7eb28a70250af682bfa0163de6b1c1262ff1 /format.c | |
parent | 1f7ca973c5ddae22db18b1d3dbb9e5c7cb0f3a6a (diff) | |
download | rtmux-9913cce3ba0f6c35970990ac2cbe9a83e3dc729d.tar.gz rtmux-9913cce3ba0f6c35970990ac2cbe9a83e3dc729d.tar.bz2 rtmux-9913cce3ba0f6c35970990ac2cbe9a83e3dc729d.zip |
Add a pane_pipe format to show if pipe-pane is active, GitHub issue 990.
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1393,6 +1393,7 @@ format_defaults_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_input_off", "%d", !!(wp->flags & PANE_INPUTOFF)); + format_add(ft, "pane_pipe", "%d", wp->pipe_fd != -1); status = wp->status; if (wp->fd == -1 && WIFEXITED(status)) |