Scans every tmux server on this machine (sockets under $TMUX_TMPDIR/tmux-<uid>/) for panes whose current title exactly matches oldTitle, then rewrites each to newTitle. Useful for upgrading old-style worker-pane titles (without <node>-<pid> prefix) to the new convention so that .gs_reclaim_dead_jobs() can recognise them.

tmuxSetPaneTitle(oldTitle, newTitle)

Arguments

oldTitle

Character(1). Exact current title to match.

newTitle

Character(1). Replacement title.

Value

Invisibly, a character vector of the pane IDs that were updated (e.g. c("%12", "%33")). Prints a message per update and a warning when no match is found.