And after-kill-session or one of the other hooks with display-message doesn't work? You will probably need to specify the session or client to display-message with -t (obviously the one you want to display on, not the one you are killing).
On Tue, 22 Sep 2020, 18:37 Sivaram Neelakantan, <nsivaram....@gmail.com> wrote: > On Mon, Sep 21 2020,nicholas...@gmail.com nicholas...@gmail.com wrote: > > > Where do you want to show this warning message? Once the client is > > detached, tmux can't write anything else to the terminal. > > > > good point. In my case,it's the current active session pane. Since > that killed session was invoked through popup in an existing session, > if it gets killed, the current session should see a message. > > > [snipped 9 lines] > > > > 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/krpqx3h7rpn259.fsf%40gmail.com > . > -- 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/CAEdLfcEpm3L7Z1QVd_k6VuzhJHQBC7EpjuVpwwpzS_sYmE1Tzg%40mail.gmail.com.