Skip to content

feat: scroll wheel support and rename AI panel#123

Merged
njbrake merged 1 commit intomainfrom
feat/ai-panel-scroll
Apr 6, 2026
Merged

feat: scroll wheel support and rename AI panel#123
njbrake merged 1 commit intomainfrom
feat/ai-panel-scroll

Conversation

@njbrake
Copy link
Copy Markdown
Contributor

@njbrake njbrake commented Apr 6, 2026

Description

Add mouse scroll wheel support to the AI thoughts panel (and game log / llamafile log), and rename "AI Reasoning" to "AI Thoughts" for a more intuitive label.

  • Enable EnableMouseCapture / DisableMouseCapture in terminal setup/teardown
  • Handle ScrollUp / ScrollDown mouse events, scrolling the active panel by 3 lines per tick
  • Rename "AI Reasoning" to "AI Thoughts" across all UI surfaces, docs, and DESIGN.md
  • 5 new tests for mouse scroll behavior (chat, game log, llamafile log, underflow)
  • Update docs/controls.md, DESIGN.md, help overlay, and status bar hints

Fixes #121

PR Type

  • New Feature
  • Bug Fix
  • Refactor
  • Documentation
  • Infrastructure / CI

Checklist

  • I understand the code I am submitting
  • New and existing tests pass
  • Documentation was updated where necessary

AI Usage

  • No AI was used
  • AI was used for drafting/refactoring
  • This is fully AI-generated

AI Model/Tool used: Claude Opus 4.6 (Claude Code)

Any Additional AI Details you'd like to share: Full implementation, tests, docs, and review done by Claude Code.

  • I am an AI Agent filling out this form (check box if true)

…I Reasoning

Enable mouse capture so scroll wheel events scroll the active panel
(AI thoughts, game log, or llamafile log) at 3 lines per tick. Rename
"AI Reasoning" to "AI Thoughts" across UI, docs, and DESIGN.md for
a more intuitive label.

Fixes #121

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@njbrake njbrake merged commit 32487f1 into main Apr 6, 2026
5 checks passed
@njbrake njbrake deleted the feat/ai-panel-scroll branch April 6, 2026 01:05
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.

Scroll on the AI reasoning tab

1 participant