claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Bring back the Ctrl-s to minimize or expand command and tool output

Open umairimtiaz9 opened this issue 1 week ago • 1 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

In one of the previous claude code versions, the developrs added a improvement, when a tool or command's output was more than a few lines, claude code only dispayed a few lines while still allowing user to expand the output with probably Ctrl-s, it actually fixed a lot of autoscrolling bugs that happen in claude codever long sessions. I believe bringing it back will fix many of the autoscroll bugs & is a net improvement in Claude Code UX.

Here is how it currently behaves ● Bash(ls -F) ⎿  Dockerfile LICENSE README.md README_CN.md assets/ auths/ cli-proxy-api* cmd/ config.example.yaml config.yaml docker-build.ps1 docker-build.sh docker-compose.yml docs/ examples/ go.mod go.sum internal/ logs/ sdk/ static/ test/

What Should Happen?

Dersired behaviour ● Bash(ls -F) ⎿  Dockerfile LICENSE README.md auths/ cli-proxy-d/ config.example.yaml Ctrl-s to expand

Error Messages/Logs


Steps to Reproduce

  1. Open Claude Code
  2. Ask it to run a tool (eg. any command or tool that gives output)
  3. The output auto expands instead of giving a way to control it, which causes autoscrolling because of long scrollback of terminal due to these command & tool outputs

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.1

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

iTerm2

Additional Information

No response

umairimtiaz9 avatar Jan 09 '26 11:01 umairimtiaz9