Skip to content

fix: question follower reads the live screen and the last widget frame (core 0.41.5) - #242

Merged
Maxaubert merged 2 commits into
mainfrom
fix/question-follow-scrollback
Oct 16, 2026
Merged

Maxaubert merged 2 commits into
mainfrom
fix/question-follow-scrollback

Conversation

@Maxaubert

Copy link
Copy Markdown
Owner

Follow-up to #236: the finding #24 fix (a6bbe28) was pushed to the branch after #236 merged, so it never reached main. Cherry-picked cleanly onto main.

  • questionWatch reads from the buffer's baseY plus one screen of scrollback above, not the viewport, so a widget taller than the pane is seen and a scrolled-up viewport no longer reads old scrollback.
  • extractQuestion uses the last tab row (findLastIndex), so a stale frame left above by a resize no longer freezes the follower on an old question.
  • Regression tests in questionWatch.test.ts and questionWidget.test.ts (4 fail against main's code, pass with the fix).
  • Core 0.41.4 -> 0.41.5, app 0.55.4 -> 0.55.5.

Checks: npm test 166 files / 2229 tests pass, npm run typecheck clean, npm run lint 0 errors (12 existing warnings). e2e not run.

🤖 Generated with Claude Code

https://claude.ai/code/session_014cnwwWNiEmM5ghBD933h59

Maxaubert and others added 2 commits October 16, 2026 10:02
…frame

questionWatch read only the viewport and extractQuestion took the first tab
row, so a widget taller than the pane (tab row in scrollback) was never
seen, a scrolled-up viewport read old scrollback, and a stale frame left
above by a resize froze the follower on that question. It now reads from
the buffer's baseY plus a screen of scrollback above, and the last tab row
is the live widget (findLastIndex).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014cnwwWNiEmM5ghBD933h59
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014cnwwWNiEmM5ghBD933h59
@Maxaubert
Maxaubert merged commit 0e3572c into main Oct 16, 2026
2 checks passed
github-actions Bot pushed a commit that referenced this pull request Oct 16, 2026
…e (core 0.41.5) (#242)

* fix: the question follower reads the live screen and the last widget frame

questionWatch read only the viewport and extractQuestion took the first tab
row, so a widget taller than the pane (tab row in scrollback) was never
seen, a scrolled-up viewport read old scrollback, and a stale frame left
above by a resize froze the follower on that question. It now reads from
the buffer's baseY plus a screen of scrollback above, and the last tab row
is the live widget (findLastIndex).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014cnwwWNiEmM5ghBD933h59

* chore: bump core 0.41.5, app 0.55.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014cnwwWNiEmM5ghBD933h59

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant