The pane_input_off format doesn't have anything to with read-only clients (which would block the command)? Do you mean client_readonly?
We can add a hook but not for 2.7. On Fri, 23 Mar 2018, 10:44 Thomas Sattler, <[email protected]> wrote: > Hi there ... > > I might be to late as we're on RC, but I'd love to have a hook > at switch-client to, for example, modify my xterm-title: > > set-hook -g switch-client "set-option -s set-titles-string \"foo > #{?pane_input_off, (ro), (rw)}\"" > > The problem I'm trying to solve is, that I cannot bind toggling > read-only and modifying the title to a single key as the bound > key won't work when the client is in read-only mode. > > Thomas > > -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send an email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
