# CLAUDE_CODE_DISABLE_MOUSE

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

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** CLAUDE_CODE_DISABLE_MOUSE=1, CLAUDE_CODE_DISABLE_MOUSE_CLICKS

## Think of it like

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

## 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

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

## Example code

```bash
export CLAUDE_CODE_DISABLE_MOUSE=1
claude
```

Keep your terminal's select-to-copy.

## Why it matters

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

## Common mistake

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

## Three principles

- **Fullscreen only.** Where it applies.
- **Keys still scroll.** PgUp, PgDn.
- **Terminal copy back.** Select to copy.

## Related terms

- [CLAUDE_CODE_NO_FLICKER](https://learn.benibix.com/term/ai/claude-code-no-flicker-variable)
- [CLAUDE_CODE_SCROLL_SPEED](https://learn.benibix.com/term/ai/claude-code-scroll-speed-variable)

---

Source: https://learn.benibix.com/term/ai/claude-code-disable-mouse-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.
