Skip to content

Fix terminal scrolling and focus behavior - #61

Merged
Raeedzz merged 2 commits into
mainfrom
Raeedzz/fix-scroll
Jul 13, 2026
Merged

Fix terminal scrolling and focus behavior#61
Raeedzz merged 2 commits into
mainfrom
Raeedzz/fix-scroll

Conversation

@Raeedzz

@Raeedzz Raeedzz commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • run Codex in its supported inline mode so terminal output participates in Goonware's native scrollback while preserving the original command in history
  • remove the redundant agent status strip and reclaim the full native terminal viewport
  • route terminal clicks through the currently mounted input layer and only preserve selections that belong to the clicked terminal
  • update the related agent-activity language and add focused regression coverage

Root cause

Codex defaults to the alternate screen without enabling mouse reporting, so Goonware's safe wheel bridge had nothing to forward and scrolling became a no-op. Terminal focus also treated any document selection as belonging to the clicked pane and used agent mode alone to choose the input target. A selection left in another pane, or an inline raw prompt using the passthrough input, could therefore leave typing routed to the previous pane.

Impact

Codex sessions now scroll through the normal native transcript, agent content gets the full terminal area, and clicking the main terminal reliably moves keyboard focus without breaking local drag selections.

Validation

  • bun run test — 320 tests passed
  • bun run typecheck
  • cargo test --lib — 316 tests passed

@Raeedzz
Raeedzz marked this pull request as ready for review July 13, 2026 22:30
@Raeedzz
Raeedzz merged commit 0e5118a into main Jul 13, 2026
1 check passed
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