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 Nordic characters #480

Closed
axolul opened this issue Nov 7, 2023 · 3 comments
Closed

Unable to input Nordic characters #480

axolul opened this issue Nov 7, 2023 · 3 comments
Labels
duplicate This issue or pull request already exists upstream_issue This issue is caused by an upstream package

Comments

@axolul
Copy link

axolul commented Nov 7, 2023

Enviroment:

  • Windows 10 Pro 22H2
  • Python 3.11.6
  • inquirer 3.1.3

Code:

import inquirer

questions = [
    inquirer.Text('newUUID', message="Anna uusi UUID (paina Enter pitääksesi samana): "),
    inquirer.Text('newName', message="Anna uusi nimi (paina Enter pitääksesi samana): "),
    inquirer.Text('newPrice', message="Anna uusi hinta (paina Enter pitääksesi samana): "),
    inquirer.Text('newCategory', message="Anna uusi kategoria (paina Enter pitääksesi samana): "),
]

We are using inquirer in our school project. It shows Finnish/Nordic characters ä, ö and å normally when it prompts for something. But then the command line goes nuts when you try to input the same characters.

In the picture attached, I inputted "testöäåtest". As you can see, the inquiry line starts to multiply and it goes all wrong from there.

nordic_characters

@Cube707
Copy link
Collaborator

Cube707 commented Nov 9, 2023

This is a upstream issue with the readchar library, see magmax/python-readchar#93

@Cube707
Copy link
Collaborator

Cube707 commented Nov 9, 2023

Duplicate of #432

@Cube707 Cube707 marked this as a duplicate of #432 Nov 9, 2023
@Cube707 Cube707 added upstream_issue This issue is caused by an upstream package duplicate This issue or pull request already exists labels Nov 9, 2023
@Cube707
Copy link
Collaborator

Cube707 commented Aug 12, 2024

closed by #622

@Cube707 Cube707 closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists upstream_issue This issue is caused by an upstream package
Projects
None yet
Development

No branches or pull requests

2 participants