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

Unable to input non-English letters on Windows #43

Open
Heaven31415 opened this issue Nov 18, 2020 · 6 comments · May be fixed by #64
Open

Unable to input non-English letters on Windows #43

Heaven31415 opened this issue Nov 18, 2020 · 6 comments · May be fixed by #64

Comments

@Heaven31415
Copy link

Hi.

I cannot input any non-English letter during prompt. Outside the program I can type whatever letter I want so it doesn't seem to be a problem with my terminal.

I'm running on Windows 10 with node v14.15.0 and using prompt-sync 4.2.0.

A minimal code example which can reproduce the issue:

const prompt = require('prompt-sync')();
console.log(prompt(`Type non-English letter: `));
// I am unable to type any non-English letter
@paiva-thiago
Copy link

Real! I was testing this lib and I realized that accented letters like 'é' simply do not appear!

@pmqueiroz
Copy link

up

@kant2002
Copy link

In case you guys still interested. I submit partial fix in #64

@kant2002
Copy link

And because there no activity on PR, I publish @kant2002/prompt-sync package with a fix.

@BillCipher-exe
Copy link

BillCipher-exe commented Jul 28, 2023

Problem still exists. unable to input German Ö Ä Ü ß ...

@kant2002
Copy link

@BillCipher-exe did you try my fork?

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

Successfully merging a pull request may close this issue.

5 participants