Discussion:
PATCH: Add format for reading pane_inputoff
Anish R Athalye
2014-10-23 02:07:56 UTC
Permalink
It would be nice to be able to have pane_inputoff as a format. That would make it so that display-message could read from that variable, or a status line could use the ‘#{?pane_inputoff, 
}’ notation, which is super nice for making a status line that reflects whether the currently selected pane is disabled.

The attached patch implements this change and updates the manual page accordingly.



Regards,
Anish Athalye
Nicholas Marriott
2014-10-25 08:47:28 UTC
Permalink
Applied to OpenBSD thanks, will be in SF later.
Post by Anish R Athalye
It would be nice to be able to have pane_inputoff as a format. That would
make it so that display-message could read from that variable, or a status
line could use the `#{?pane_inputoff, ...}' notation, which is super nice
for making a status line that reflects whether the currently selected pane
is disabled.
The attached patch implements this change and updates the manual page accordingly.
Regards,
Anish Athalye
------------------------------------------------------------------------------
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
------------------------------------------------------------------------------
Loading...