terminal: Arrow keys not working on Touchscreen (on-screen) keyboard
Environment
Windows build number: 10.0.20201.0
Windows Terminal version (if applicable): 1.3.2382.0
Steps to reproduce
- Open Windows Terminal Pre release on a computer with touch screen.
- Popup the “on-screen” keyboard
- Set the keyboard to “full size”, to get arrow keys
- Enter a command, try to click arrow left/right
- Run the command and click up
This is tested both in PowerShell and WSL 2 through Windows Terminal
Expected behavior
I would expect the arrow keys to work, for example for going back in command history, or to use arrow keys in Vim or similar.
Actual behavior
The arrow keys is not working, nothing happens when you click them. You can try to open e.g. Windows PowerShell directly, where it will work.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 7
- Comments: 22 (5 by maintainers)
Commits related to this issue
- Fix SendInput handling (#7900) While not explicitly permitted, a wide range of software (including Windows' own touch keyboard) sets the `wScan` member of the `KEYBDINPUT` structure to 0, resulting... — committed to microsoft/terminal by lhecker 4 years ago
- Fix SendInput handling (#7900) While not explicitly permitted, a wide range of software (including Windows' own touch keyboard) sets the `wScan` member of the `KEYBDINPUT` structure to 0, resulting i... — committed to microsoft/terminal by lhecker 4 years ago
Got the same problem with arrow keys on my Surface Pro X.
Windows version: 10.0.19041.508 Terminal version: 1.2.2381.0 (Microsoft Store)