Scrollbar not visible and copy/paste broken in interactive CLI (TERM=xterm, SSH)
Resolved 💬 2 comments Opened Jun 26, 2026 by mkmathur1-hub Closed Jun 29, 2026
What happened
In the interactive Claude Code CLI, the scrollbar is not visible, and click-drag copy/paste has stopped working in the terminal.
Environment
- Claude Code: 2.1.193
- OS: Linux 6.1.159 (Amazon Linux 2023, x86_64 EC2 instance)
- TERM=xterm, TERM_PROGRAM=(unset)
- Connecting over SSH
Steps to reproduce
- Launch Claude Code in an xterm-type terminal over SSH.
- Try to scroll using the terminal scrollbar — no scrollbar appears.
- Try to select text with click-drag and copy — selection/copy does not work as it did previously.
Expected
Scrollbar visible; native terminal copy/paste works.
Actual
No scrollbar; copy/paste non-functional via normal click-drag.
Notes
Possibly related to the TUI enabling mouse tracking (SGR mouse mode), which captures drag events and suppresses native selection. Shift-drag is a partial workaround but is not discoverable.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗