# CLAUDE_CODE_SCROLL_SPEED

> It sets how far the mouse wheel scrolls in fullscreen mode.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** CLAUDE_CODE_SCROLL_SPEED=3

## Think of it like

It is like the speed dial on a mouse wheel.

## Definition

CLAUDE_CODE_SCROLL_SPEED sets how far one turn of the mouse wheel scrolls in fullscreen mode. It takes any number above 0 up to 20. A value under 1, such as 0.5, slows a trackpad that scrolls too fast. Set it to 3 to match vim. The JetBrains terminal ignores it.

## Example

Jack's trackpad flew past whole pages in fullscreen. He sets the speed to 0.5, and he can read as he scrolls.

## Example code

```bash
export CLAUDE_CODE_SCROLL_SPEED=0.5
claude
```

Slow down a jumpy trackpad.

## Why it matters

Terminals send the wheel in different ways. One number fixes scrolling that is too fast or too slow.

## Common mistake

Setting it to 0. It must be above 0.

## Three principles

- **Above 0 up to 20.** Fractions too.
- **3 matches vim.** One step per notch.
- **Fullscreen only.** Not JetBrains.

## Related terms

- [CLAUDE_CODE_DISABLE_MOUSE](https://learn.benibix.com/term/ai/claude-code-disable-mouse-variable)
- [CLAUDE_CODE_NO_FLICKER](https://learn.benibix.com/term/ai/claude-code-no-flicker-variable)

---

Source: https://learn.benibix.com/term/ai/claude-code-scroll-speed-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
