I switched from tmux to Zellij a while back, and lately added a stop hook that sends a terminal ping to the correct tab when the agent is done (and I'm not looking at the tab). It has been pretty convenient so far.
Added an example here:
Added an example here:
Does anyone know anything like this for Ghostty?