Skip to content

Double width scrollbar on ITerm2 #6230

@lyovushka

Description

@lyovushka

Have you checked closed issues? Yes

Have you checked against the most recent version of Textual? Yes

The bug

On ITerm2 the scrollbar is double width and a little wonky

Image

A simple code to reproduce

from textual.app import App, ComposeResult
from textual.widgets import Static

class ExampleApp(App):
    def compose(self) -> ComposeResult:
        for i in range(250):
            yield Static(f"Hello {i}")

if __name__ == "__main__":
    app = ExampleApp()
    app.run()

The output of textual diagnose:

Textual Diagnostics

Versions

Name Value
Textual 6.6.0
Rich 14.2.0

Python

Name Value
Version 3.13.5
Implementation CPython
Compiler Clang 20.1.4
Executable /Users/anna/netbook/.venv/bin/python

Operating System

Name Value
System Darwin
Release 24.6.0
Version Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:40 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T8132

Terminal

Name Value
Terminal Application iTerm.app (3.6.5)
TERM xterm-256color
COLORTERM truecolor
FORCE_COLOR Not set
NO_COLOR Not set

Rich Console options

Name Value
size width=88, height=25
legacy_windows False
min_width 1
max_width 88
is_terminal True
encoding utf-8
max_height 25
justify None
overflow None
no_wrap False
highlight None
markup None
height None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions