promptgarten ๐ŸŒฑ

Command reference ยท Claude Code

/scroll-speed

Interactively adjusts the mouse wheel scroll speed.

/scroll-speed interactively adjusts the mouse wheel scroll speed. The command is only available in fullscreen rendering โ€” an optional, experimental display mode that you activate beforehand via /tui fullscreen โ€” and not there in the JetBrains IDE terminal. The dialog shows a ruler that you scroll while the window is open, to feel the change immediately. With โ† / โ†’ you set the speed in whole steps up to 10, and on terminals with finer control additionally in quarter steps from 0.25. r resets to the automatically detected default value, Enter saves. The saved value corresponds to the environment variable CLAUDE_CODE_SCROLL_SPEED and ends up permanently in ~/.claude/settings.json; values higher than 10 can only be set via the variable. Regardless of the base speed, Claude Code automatically accelerates fast scrolling โ€” this can be turned off via wheelScrollAccelerationEnabled: false in the settings.

โœ… WHEN TO USE IT?

Permanently adjust the scroll speed

open /scroll-speed in the fullscreen terminal, set it to the desired speed with โ†/โ†’, and save with Enter โ€” the value ends up in ~/.claude/settings.json.

Reset to the automatically detected default value

open /scroll-speed and press r to correct a speed set too high or too low.

โ›” WHEN NOT TO?

Classic rendering or JetBrains IDE terminal

According to the docs, /scroll-speed is only available in the optional fullscreen rendering activated via /tui fullscreen, and is generally not present in the JetBrains IDE terminal.

Better: activate /tui fullscreen first; in the JetBrains terminal use the IDE's own scroll settings instead (from JetBrains 2025.3 also with automatic fixes from Claude Code for known scroll bugs)

The terminal doesn't forward mouse wheel events

According to the docs, the live preview in the ruler only responds to mouse wheel events that the terminal forwards to Claude Code โ€” iTerm2, for example, blocks this by default via a profile setting.

Better: In iTerm2, enable 'Enable mouse reporting' under Settings โ†’ Profiles โ†’ Terminal, then open /scroll-speed again

SOURCES

MORE COMMANDS ยท Claude Code

/security-review/setup-bedrock/setup-vertex/simplify/skills/stats/status/statusline/stickers/tasks/teleport/upgrade

All commands ยท Claude Code โ†’

Share:๐•in๐Ÿ’ฌ