Skip to content
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

Weird behavior when trying to type @ character #193

Open
eddex opened this issue Sep 28, 2019 · 3 comments
Open

Weird behavior when trying to type @ character #193

eddex opened this issue Sep 28, 2019 · 3 comments

Comments

@eddex
Copy link

eddex commented Sep 28, 2019

I tried to type an email and used ALTGR+2 (CH-DE keyboard) to write an @.

Expected: An @ appears at the current cursor position.

Actual: ?@ appears on the current cursor position.

In addition, any subsequent keyboard input not only writes a character on the current cursor position but also duplicates the first character of the current line.
evans_bug

@ktr0731
Copy link
Owner

ktr0731 commented Sep 30, 2019

Thank you for reporting an issue.
What is your terminal environment?

@eddex
Copy link
Author

eddex commented Sep 30, 2019

  • OS Windows 10
  • Terminal: PowerShell and cmd.exe

The issue also happens with any other special characters combined with the ALTGR key.

@acomagu
Copy link
Contributor

acomagu commented Jul 16, 2022

I can reproduce with Alt key. Alt + any character(e.g. Alt+a) causes same display destruction also on my machine.

image

  • PowerShell 5.1
  • WindowsTerminal 1.13

I assume it's same cause of AltGr's.

Maybe related?

Other programs, like Bash, simply ignore Alt+character, but Evans(maybe all CLIs using go-prompt?) doesn't. So I feel the good first step is to investigate why Evans can't ignore Alt+character on Windows.

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

No branches or pull requests

3 participants