Where do you want to show this warning message? Once the client is 
detached, tmux can't write anything else to the terminal.


On Saturday, September 19, 2020 at 11:36:17 AM UTC+1 Sivaram Neelakantan 
wrote:

> How do I set a hook/condition that if named session is killed or 
> exited or detached I show a message to the user. Say I have 
> session=="help" and if the user tries to exit or kill, I show a 
> warning message. 
>
> sivaram 
> -- 
>
>

-- 
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 tmux-users+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/091c80d1-6874-4c4c-893c-f07935c239ban%40googlegroups.com.

Reply via email to