I've attached a patch which implements xterm's title stack
functionality for screens inside tmux.
diff --git a/input.c b/input.c
index b6c27cb..c7bf0a2 100644
--- a/input.c
+++ b/input.c
@@ -1493,8 +1493,6 @@ input_csi_dispatch_winops(struct input_ctx *ictx)
/* FALLTHROUGH */
case 9:
case
It looks like there's a memory leak in cmd_find_window_exec. This
function calls cmd_find_window_match, which allocates memory to
find_data.list_ctx using xstrdup or xasprintf.
cmd_find_window_exec then uses this allocated string in a call to
format_add, but never frees it. I've attached a patch