Files
tty7/src
l0ng-ai e711df7904 fix(pane): only let a remembered pane settle a tie between neighbors (#738)
The remembered pane was accepted on the strength of lying that way with a
shared edge, which a pane two columns over also does. In a row of three,
moving left off the last column and then reaching the first by a click or
a cycle -- neither of which records anything -- left the origin naming the
column that had been skipped over, and the move back jumped straight to
it.

Being on the right side is now not enough: a remembered pane also has to
be no farther off than the nearest pane that way. That still settles the
T-junction, where the two candidates are equidistant and only the shared
edge separates them, while a pane with another one in front of it loses
to whatever is actually adjacent. A stale origin can therefore only ever
break a tie, which is what the comments claimed and now describe.
2026-09-07 19:09:13 +08:00
..