Files
review50-r3 d83962a843 fix(transport): leave a pane's mode through the seat's address
A send to a seat whose pane was scrolled into copy mode tried to leave the
mode by the pane's raw tmux id. The input guard resolves a write's target to
exactly one seat, and a pane id can also match a stale binding elsewhere,
because tmux reuses pane ids after a server restart. The guard then refused
the write before typing anything, the pane stayed in its mode, and the send
was refused as pane_in_mode. Text and Enter were never affected: they are
addressed by the seat's session name.

Leave the mode through the session name too. The guard resolves the seat and
writes to its bound pane, as it does for text and Enter; the mode reads still
use the bound pane.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 3e0d7e7865)
2026-11-07 07:51:15 +00:00
..
2026-11-06 20:42:47 +00:00