[PR #1165] [MERGED] fix(windows): resolve numlock and French keyboard input issues #9836

Closed
opened 2026-02-16 18:14:15 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1165
Author: @b0tmtl
Created: 7/20/2025
Status: Merged
Merged: 7/20/2025
Merged by: @adamdotdevin

Base: devHead: dev


📝 Commits (2)

  • ffdf061 fix(windows): resolve numlock and French keyboard input issues
  • 0e9cffc Merge pull request #1 from b0tmtl/fix-windows-numlock-input-issue910-1164

📊 Changes

1 file changed (+47 additions, -25 deletions)

View changed files

📝 packages/tui/input/driver_windows.go (+47 -25)

📄 Description

  • Remove numlock/scrolllock states from printable text check
  • Add special handling for VK_DIVIDE key to produce '/' character
  • Fixes typing when numlock is enabled on Windows
  • Fixes '/' character input on French keyboards

Fixes #910
Fixes #1164


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1165 **Author:** [@b0tmtl](https://github.com/b0tmtl) **Created:** 7/20/2025 **Status:** ✅ Merged **Merged:** 7/20/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (2) - [`ffdf061`](https://github.com/anomalyco/opencode/commit/ffdf06150daff6b586f827892c26aa82941d67ce) fix(windows): resolve numlock and French keyboard input issues - [`0e9cffc`](https://github.com/anomalyco/opencode/commit/0e9cffc9ffefb3a161b2547b5f6d15fd0125c885) Merge pull request #1 from b0tmtl/fix-windows-numlock-input-issue910-1164 ### 📊 Changes **1 file changed** (+47 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `packages/tui/input/driver_windows.go` (+47 -25) </details> ### 📄 Description - Remove numlock/scrolllock states from printable text check - Add special handling for VK_DIVIDE key to produce '/' character - Fixes typing when numlock is enabled on Windows - Fixes '/' character input on French keyboards Fixes #910 Fixes #1164 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:15 -05:00
yindo closed this issue 2026-02-16 18:14:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9836