tui: show the strand and let the reader move through it #135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "land/santi-tui-direct-relationship"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
tui: show the strand and let the reader move through it
The body was a chat log wearing a strand's clothes. Messages arrived with
their newlines flattened into single spaces, so every markdown structure the
soul wrote collapsed into one grey slab, and the only thing marking a speaker
was a "you>" prefix borrowed from a chat window.
Reading: history keeps the newlines it was written with, and markdown is
rendered rather than printed, so headings, lists, fences and inline code look
like what they are. A message is bounded by its own timestamp, in local time,
because the entry sequence it used to show meant nothing to anyone: five in
six entries are thinking and tool calls, so the number was neither the message
count nor anything a person would say aloud. The gap those entries leave is
stated instead of hidden.
Moving: scrolling rebuilt every line of the strand on every frame, which cost
55ms and made the wheel feel like tar. The fold is cached against a content
revision, so a scroll frame now costs 7ms and no debounce is needed to hide it.
Paging moves half a screen so the previous view keeps an anchor, and the wheel
moves three lines like every other terminal.
Naming: a strand can be called something. The name is local to this machine,
kept beside the user's config rather than in the repository's secrets, and it
falls back to the id.
/strandand/soullist what exists and switchbetween them; switching is just a change of view, so it never refuses on an
unsettled receipt. Stopping work is what Escape is for.
Grouping: activity is grouped by the turn that owns it. Finding that owner
needed fixing first, since thinking and tool events carry their turn one level
deeper than a message does, and tool results do not carry one at all.