New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't make @ symbol in Windows 10 #136

Closed
maetthew opened this Issue Dec 6, 2018 · 9 comments

Comments

2 participants
@maetthew
Copy link

maetthew commented Dec 6, 2018

Hi,

I just discovered Extraterm yesterday and decided to give it a shot. I'm having a weird issue though, I can't make the @ symbol in Extraterm for some reason. I'm using a swedish keyboard layout and for some reason I can't get it to work. The keyboard shortcut on a swedish keyboard layout is "altgr+2".

I searched for similar issues but couldn't find anything. This is a peculiar problem that only shows in Extraterm and I'm at loss what to try.

@sedwards2009

This comment has been minimized.

Copy link
Owner

sedwards2009 commented Dec 7, 2018

This sounds the same as #97

@maetthew

This comment has been minimized.

Copy link

maetthew commented Dec 7, 2018

Yeah it's similar but I don't think it's the same. I have no problems making the @ symbol in any other applications including other terminal emulators(WSL Terminal, Hyper, MobaXTerm). I also dont get the "^@" output when trying to make an "@" in CMD as the OP mentioned in the issue you referenced.

You still think these are related?

@maetthew

This comment has been minimized.

Copy link

maetthew commented Dec 8, 2018

After some more using I realised I couldn't make a backspace(altgr+plus sign) in nano and it seem to have sent ^\ (search and replace function in nano).

If I in bash hold down AltGr and just press the 12 buttons on the number row of the keyboard sequentially starting with 1 the output is: £$€{
"£" = 3, "$" = 4, "€" = 5, "{" = 7 <- keys on keyboard

I can also make a } (0 on keyboard) but it only seem to output when I issue it with no other keys pressed in between AltGr and 0.

@sedwards2009

This comment has been minimized.

Copy link
Owner

sedwards2009 commented Dec 8, 2018

I just tried this out on Windows 10 using English and Swedish keymap. VSCode gives @ for right-Alt 2, which is expected. Extraterm gives nothing, which is good because it means that I can reproduce the problem and somewhere in VSCode there is a solution to be found. ;-)

@maetthew

This comment has been minimized.

Copy link

maetthew commented Dec 8, 2018

Nice :) Keeping my fingers crossed!

@sedwards2009

This comment has been minimized.

Copy link
Owner

sedwards2009 commented Dec 8, 2018

Interestingly Chrome/Blink version 67 contains a fix for AltGr keys on Windows: https://www.chromestatus.com/features/5059438092222464

This fix will be in Electron v4 which is currently in beta testing. Extraterm is on the (fairly) old 2.x versions of Electron at the moment. If the keyboard work-around for Electron 2.x is too nasty then I might wait for Electron v4 to be properly released first.

@sedwards2009

This comment has been minimized.

Copy link
Owner

sedwards2009 commented Dec 9, 2018

I have a fix for this. I'll probably do a small big fix point release sometime this coming week.

@sedwards2009

This comment has been minimized.

Copy link
Owner

sedwards2009 commented Dec 10, 2018

@maetthew I just released 0.38.1 with this fix in it.

@maetthew

This comment has been minimized.

Copy link

maetthew commented Dec 10, 2018

@sedwards2009 Yup, confirming both @ and \ works :)

Output of earlier mentioned method: @£$€{[]}\

Nice job! Can't wait to see where you're gonna take this development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment