mirror of
https://github.com/donlucasx/xscapes.git
synced 2026-10-20 08:43:32 +02:00
He said scrollback matters, and only the main screen has any, so both axes were measured there before writing a line of code. Height, 120x30 -> 120x47: ANCHORED TOP. ROW 01 stayed put and the blanks appeared at the bottom -- the opposite of the alternate screen, and needing no correction at all. (⚠ on a screen with nearly no history above it. The 2026-09-02 note says a grow pulls scrolled-off lines back in, and with nothing in history there is nothing to pull. Not generalised.) Width, 120x47 -> 78x47: TOTAL REFLOW. Every full-width row re-wrapped into two, and the view shifted so the top showed the previous row's tail. Claude Code's UI is full-width lines almost exclusively -- the box borders, the status line -- so any narrowing doubles all of them. That kills the idea. Everything the host can do moves whole ROWS; reflow changes how many rows a logical LINE takes, and the host does not model logical lines, so there is no correction available. The alternate screen never reflows, which is precisely the property that makes the band work at all. So Terminal.app will not give both. Scrollback and the band are exclusive, and if xscapes wants scrollback it has to own it. Worth saying plainly: this is the first time today a measurement was taken BEFORE the code rather than after a wrong fix, and it saved building something that could not have worked. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R1u8vp8AgrTuaCCcLv6HVi