[FEATURE]

Resolved 💬 0 comments Opened Jul 7, 2026 by Gone-Beyond Closed Jul 7, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

## Feature Request: Add CLAUDE_CODE_DISABLE_AUTO_COPY (or similar) env var

Environment

  • OS: Windows 11
  • Terminal: Windows Terminal
  • Claude Code: 2.1.201 (winget install)

Problem

Claude Code currently has three mouse modes:

  • full (default) — captures all mouse events; drag-select auto-copies to clipboard and shows a "copied N chars" status bar toast
  • scroll (CLAUDE_CODE_DISABLE_MOUSE_CLICKS=1) — disables click events but drag-select still triggers auto-copy
  • off (CLAUDE_CODE_DISABLE_MOUSE=1) — releases mouse to terminal; kills scroll wheel, UI interactions, and jump hints

None of these cover a common use case:

> I want to drag-select terminal text, without Claude Code auto-copying it or showing the clipboard toast — while keeping scroll wheel and other mouse interactions intact.

The only current workaround on Windows Terminal is Shift+drag (which bypasses mouse reporting at the terminal level). This is non-obvious, requires relearning muscle memory, and is not
documented anywhere in Claude Code's help output or docs.

Proposed solution

Add a new env var (any of these would work):

CLAUDE_CODE_DISABLE_AUTO_COPY=1
CLAUDE_CODE_DISABLE_COPY_TOAST=1
CLAUDE_CODE_MOUSE_MODE=scroll_no_copy

Behavior: keep mouse reporting active (so scroll wheel, click-to-focus, jump hints all work), but when a drag-selection is detected, do not write to clipboard and do not show the
status bar toast. Let the terminal handle the selection buffer natively.

Why this matters

Developers who use Claude Code full-screen for extended sessions frequently want to copy snippets from the conversation with the mouse. The current auto-copy behavior is surprising and the
toast notification is distracting. The nuclear option (DISABLE_MOUSE=1) breaks too many things to be acceptable.

---

Proposed Solution

## Feature Request: Add CLAUDE_CODE_DISABLE_AUTO_COPY (or similar) env var

Environment

  • OS: Windows 11
  • Terminal: Windows Terminal
  • Claude Code: 2.1.201 (winget install)

Problem

Claude Code currently has three mouse modes:

  • full (default) — captures all mouse events; drag-select auto-copies to clipboard and shows a "copied N chars" status bar toast
  • scroll (CLAUDE_CODE_DISABLE_MOUSE_CLICKS=1) — disables click events but drag-select still triggers auto-copy
  • off (CLAUDE_CODE_DISABLE_MOUSE=1) — releases mouse to terminal; kills scroll wheel, UI interactions, and jump hints

None of these cover a common use case:

> I want to drag-select terminal text, without Claude Code auto-copying it or showing the clipboard toast — while keeping scroll wheel and other mouse interactions intact.

The only current workaround on Windows Terminal is Shift+drag (which bypasses mouse reporting at the terminal level). This is non-obvious, requires relearning muscle memory, and is not
documented anywhere in Claude Code's help output or docs.

Proposed solution

Add a new env var (any of these would work):

CLAUDE_CODE_DISABLE_AUTO_COPY=1
CLAUDE_CODE_DISABLE_COPY_TOAST=1
CLAUDE_CODE_MOUSE_MODE=scroll_no_copy

Behavior: keep mouse reporting active (so scroll wheel, click-to-focus, jump hints all work), but when a drag-selection is detected, do not write to clipboard and do not show the
status bar toast. Let the terminal handle the selection buffer natively.

Why this matters

Developers who use Claude Code full-screen for extended sessions frequently want to copy snippets from the conversation with the mouse. The current auto-copy behavior is surprising and the
toast notification is distracting. The nuclear option (DISABLE_MOUSE=1) breaks too many things to be acceptable.

---

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

Interactive mode (TUI)

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗