Numpad keys not working in VS Code extension since v2.1.86

Resolved 💬 3 comments Opened Mar 30, 2026 by skyboy8562-lgtm Closed May 4, 2026

Bug Description

Numpad keys (0-9, decimal, operators) stopped working in Claude Code VS Code extension. Regular number keys above the keyboard work fine.

Environment

  • OS: Windows 10 Pro for Workstations 10.0.19045
  • VS Code: Latest
  • Claude Code Extension: v2.1.87 (upgraded from v2.1.85)
  • Terminal: VS Code integrated terminal (panel mode, bash)
  • Num Lock: ON

Steps to Reproduce

  1. Open Claude Code in VS Code integrated terminal (panel mode)
  2. Enable Num Lock
  3. Try typing numbers using the numpad
  4. Numbers are not entered

Expected Behavior

Numpad keys should input numbers (0-9) and operators when Num Lock is on, same as v2.1.85.

Actual Behavior

Numpad keys produce no input. Regular keyboard number keys work normally.

Additional Context

  • v2.1.85 (installed 2026-03-27): Numpad worked correctly
  • v2.1.87 (auto-updated 2026-03-30): Numpad stopped working
  • Numpad works fine in regular VS Code integrated terminal (non-Claude Code)
  • Attempted terminal.integrated.sendKeybindingsToShell: true and explicit numpad keybindings in keybindings.json — neither resolved the issue, confirming this is internal to the extension's input handling
  • Likely related to the v2.1.85 fix: "Fixed raw key sequences appearing in prompt over SSH/VS Code integrated terminal" — numpad keys use different keycodes (xterm application mode) that may have been affected

Workaround

Use regular number keys above the keyboard instead of numpad.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗