{"version":"2.1.179","anchor":"claude-code-altgr-as-text-environment-variable","canonical_anchor":"claude-code-altgr-as-text-environment-variable","heading":"CLAUDE_CODE_ALTGR_AS_TEXT Environment Variable","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.179\/e\/claude-code-altgr-as-text-environment-variable","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.179","markdown":"### `CLAUDE_CODE_ALTGR_AS_TEXT` Environment Variable\n\n**What**\n\nNew env var for Windows users on keyboards with an AltGr key. AltGr is used on many European and international layouts to produce characters like `@`, `\u20ac`, `[`, `]`, etc. \u2014 but it's also interpreted as Ctrl+Alt in Windows, which can interfere with Claude Code shortcuts.\n\n**Usage**\n\n`# 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 \u2014 AltGr combos always produce text - `false`\/`0` forces \"off\" mode \u2014 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\u2013126 and 160\u201355295) **Evidence** New env var handler (search for `\"CLAUDE_CODE_ALTGR_AS_TEXT\"`)"}