Skip to content

fix(tui): make session scrollbar visible by default with better contrast#32195

Closed
beiliya66677-wq wants to merge 1 commit into
anomalyco:devfrom
beiliya66677-wq:fix/scrollbar-visible-default
Closed

fix(tui): make session scrollbar visible by default with better contrast#32195
beiliya66677-wq wants to merge 1 commit into
anomalyco:devfrom
beiliya66677-wq:fix/scrollbar-visible-default

Conversation

@beiliya66677-wq

Copy link
Copy Markdown

Problem

The right-side scrollbar in the session view is invisible by default on Windows Terminal (and other dark terminals). Two issues:

  1. Default hidden: the scrollbar_visible KV signal defaults to false (set by PR fix(tui): restore hidden session scrollbar default #20947), so users must manually toggle it via Ctrl+P → Toggle session scrollbar
  2. Invisible colors: when enabled, the scrollbar track uses theme.backgroundElement (#1a1a1a) on theme.background (#0a0a0a) and the thumb uses theme.border (#262626) — both nearly indistinguishable on dark backgrounds

Changes

packages/tui/src/routes/session/index.tsx:

  1. Default visibility: changed scrollbar_visible KV default from falsetrue
  2. Track color: backgroundColor from theme.backgroundElementtheme.backgroundPanel for subtle visual distinction
  3. Thumb color: foregroundColor from theme.bordertheme.textMuted for a visible gray thumb across all themes

Closes #25981

@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jun 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Potential Duplicate Found:

Why it's related: This PR addresses a similar issue of making the session scrollbar visible and improving its appearance. Both PRs focus on improving scrollbar visibility and contrast in the session view. PR #27795 may have been a previous attempt or related work on the same problem.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jun 13, 2026
@github-actions github-actions Bot closed this Jun 13, 2026
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.

[BUG]: Session scrollbar not visible in default opencode theme on Windows Terminal

1 participant