Alt-Gr issue (global one also affecting conhost, not just Windows Terminal) #4209

Open
opened 2026-01-30 23:41:06 +00:00 by claunia · 4 comments
Owner

Originally created by @HBelusca on GitHub (Oct 1, 2019).

Originally assigned to: @lhecker on GitHub.

Environment

Windows 10 Education, Build 18362.19h1_release_svc_19h2_rel.190621-1123
Windows Terminal version (if applicable): Latest build from revision 0ce08aff ,
i.e. after commit 33361698 (but it didn't work either before).

Any other software? -> Testing Mathematica 11.3 kernel, but also reproducible
using Wolfram Engine (free DL at official website https://www.wolfram.com/engine/ )

Steps to reproduce

Just open math (or wolframscript when using Wolfram Engine) command and try to enter square brackets or other symbols that require pressing either AltGr or Ctrl-Alt on french keyboard layout.

Expected behavior

The square brackets should appear....

Actual behavior

... but they do not. See the screen-capture. The problem happens when using standard Conhost and also the OpenConsole.exe version.
On the contrary, the square brackets are correctly transmitted to the math (or wolframscript) program when using MinTTY from Git4Windows.

image

Originally created by @HBelusca on GitHub (Oct 1, 2019). Originally assigned to: @lhecker on GitHub. # Environment `Windows 10 Education, Build 18362.19h1_release_svc_19h2_rel.190621-1123` Windows Terminal version (if applicable): Latest build from revision 0ce08aff , i.e. after commit 33361698 (but it didn't work either before). Any other software? -> Testing Mathematica 11.3 kernel, but also reproducible using Wolfram Engine (free DL at official website https://www.wolfram.com/engine/ ) # Steps to reproduce Just open `math` (or `wolframscript` when using Wolfram Engine) command and try to enter square brackets or other symbols that require **pressing either AltGr or Ctrl-Alt on french keyboard layout**. # Expected behavior The square brackets should appear.... # Actual behavior ... but they do not. See the screen-capture. The problem happens when using standard Conhost and also the OpenConsole.exe version. **On the contrary**, the square brackets are correctly transmitted to the `math` (or `wolframscript`) program **when using MinTTY from Git4Windows**. ![image](https://user-images.githubusercontent.com/1969829/65993323-44f7eb80-e491-11e9-8b16-4f419fa6406d.png)
claunia added the Help WantedProduct-ConhostIssue-BugArea-Input labels 2026-01-30 23:41:07 +00:00
Author
Owner

@strawberryfield commented on GitHub (Sep 17, 2020):

I cannot type square brakets in interactive mode of the engine (windows 10 2004, italian keyboard). In the same window if I work with command line the square brackets are typed.

@strawberryfield commented on GitHub (Sep 17, 2020): I cannot type square brakets in interactive mode of the engine (windows 10 2004, italian keyboard). In the same window if I work with command line the square brackets are typed.
Author
Owner

@Proibito04 commented on GitHub (Dec 21, 2021):

same error. can't type square brakets

@Proibito04 commented on GitHub (Dec 21, 2021): same error. can't type square brakets
Author
Owner

@grivasgervilla commented on GitHub (Jul 18, 2023):

Same error here.

@grivasgervilla commented on GitHub (Jul 18, 2023): Same error here.
Author
Owner

@itteerde commented on GitHub (Oct 2, 2023):

-rawterm works for me (seems to skip using some GNU library and Windows working just fine).

@itteerde commented on GitHub (Oct 2, 2023): -rawterm works for me (seems to skip using some GNU library and Windows working just fine).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4209