From 8597144cffab56c35d5c6642899116828d0211e6 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 8 Nov 2026 21:16:54 -0300 Subject: fix: Follow's cursor past a page could hop into a collapsed page of the chain, which shows nothing (a collapsed page counted as an empty page): the chain flows past collapsed pages, its hops and ends skip them, and each keeps its scroll until it opens; reference.typ's Follow says what it does not do (a line longer than a page shows its start only, as in any pane; a hop leaves one cursor; two views ordering the pages differently); a behaviour test collapses the last of three pages Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- docs/typ/reference.typ | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docs/typ/reference.typ') diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ index 7ffbd3ea..b1532424 100644 --- a/docs/typ/reference.typ +++ b/docs/typ/reference.typ @@ -649,7 +649,17 @@ on its tag: it takes the pane out, a plain twin with the scroll it has, and the chain closes up. #word("Del") of a page leaves the chain too; the first page left is the head, whose tag has no #word("Unfollow"), and a chain of one is none. The chain is kept across #word("Dump") and #word("Restore"); -each window or terminal on the session scrolls its own. +each window or terminal on the session scrolls its own. A collapsed page +shows no text: the chain flows past it, and it takes its place again when +it opens. + +What it does not do: a line longer than a whole page shows its start only, +as in any pane (a pane scrolls by whole lines), and the next page starts on +the line after it. A hop to another page leaves one cursor there, a +multi-cursor selection let go, as an edit through a twin does. Two windows +or terminals that order the pages' columns differently each scroll by their +own order, and the edges a cursor hops at are those of whichever stepped +last. == Addresses and data -- cgit v1.3