Hi again ...
Am 23.03.2018 um 13:20 schrieb Nicholas Marriott:
There is client-session-changed hook which is fired by switch-client,
can you use it?
set-hook -g client-session-changed "set-option -s \
set-titles-string \"#W#{?client_readonly, (ro),}\""
would indeed work.
Or can't you put the format in the option all the time but make it
expand to empty when you don't want to see it?
set-option -g set-titles-string '#W#{?client_readonly, (ro),}'
just as this one. I can't understand how I missed that ...
Thanks a lot!
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.