Skip to content

feat(tui): add visible white scrollbar to session chat#27795

Open
DaPrince2106 wants to merge 1 commit into
anomalyco:devfrom
DaPrince2106:feat/visible-scrollbar
Open

feat(tui): add visible white scrollbar to session chat#27795
DaPrince2106 wants to merge 1 commit into
anomalyco:devfrom
DaPrince2106:feat/visible-scrollbar

Conversation

@DaPrince2106
Copy link
Copy Markdown

@DaPrince2106 DaPrince2106 commented May 15, 2026

Issue for this PR

No related issue

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Makes the session chat scrollbar visible, white, and easier to interact with in the terminal TUI:

  1. Scrollbar shown by default — changed KV default from false to true
  2. White thumb — changed foregroundColor from theme.border (dim gray) to theme.text (white) for clear visibility on dark backgrounds
  3. 2x taller thumb — overrides getVirtualThumbSize() on the slider to double the draggable thumb height for easier mouse interaction
  4. Smooth momentum scrolling — replaced CustomSpeedScroll(3) with MacOSScrollAccel for natural acceleration-based scrolling
    The scrollbar can still be toggled off via the session.toggle.scrollbar command.

How did you verify your code works?

Tested locally by running bun run dev and verifying the scrollbar appears on the right side of the session chat.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR
Screenshot 2026-05-11 at 01 05 30

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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