Skip to content
BENIBIX Learn

CLAUDE_CODE_DISABLE_MOUSE

AI⌨️ Claude CodeConfiguration

Also known as CLAUDE_CODE_DISABLE_MOUSE=1, CLAUDE_CODE_DISABLE_MOUSE_CLICKS

Set to 1, fullscreen mode leaves the mouse to your terminal.

Think of it like

It is like you tell a game to leave the mouse alone. Then you can use it.

Example

Lucy copies text by selecting it with the mouse. In fullscreen that stopped working. She sets this, and it works again.

Why it matters

Fullscreen takes the mouse for scrolling. Some people need it for copying more.

Definition

CLAUDE_CODE_DISABLE_MOUSE set to 1 stops Claude Code reading the mouse in fullscreen mode. PgUp and PgDn still scroll. Your terminal gets the mouse back. So select to copy works as usual.

Example code

bash
export CLAUDE_CODE_DISABLE_MOUSE=1
claude
Keep your terminal's select-to-copy.

Common mistake

Expecting the wheel to scroll the chat. With the mouse off, use PgUp and PgDn.

Key takeaways

  1. 1
    Fullscreen only. Where it applies.
  2. 2
    Keys still scroll. PgUp, PgDn.
  3. 3
    Terminal copy back. Select to copy.