Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.179 ·

CLAUDE_CODE_ALTGR_AS_TEXT Environment Variable

Entry
JSON All of v2.1.179
EntryKind: in v2.1.179,
New FeaturesSection of the release
What

New env var for Windows users on keyboards with an AltGr key. AltGr is used on many European and international layouts to produce characters like @, €, [, ], etc. — but it's also interpreted as Ctrl+Alt in Windows, which can interfere with Claude Code shortcuts.

Usage
# Force AltGr combinations to always be treated as text (recommended for most EU users)
CLAUDE_CODE_ALTGR_AS_TEXT=true claude

# Disable AltGr text mode entirely
CLAUDE_CODE_ALTGR_AS_TEXT=false claude

# Auto-detect (default): enabled if WT_SESSION is set (Windows Terminal)
Details
  • true/1 forces "force" mode — AltGr combos always produce text
  • false/0 forces "off" mode — AltGr combos pass through as Ctrl+Alt key events
  • Omitted: "auto" mode, enabled when WT_SESSION is present (Windows Terminal)
  • Only applies to printable character ranges (codepoints 32–126 and 160–55295)
Evidence

New env var handler (search for "CLAUDE_CODE_ALTGR_AS_TEXT")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.179 →

Feedback