`Checkbox` does not work when using Windows
See original GitHub issueDescription
When trying to use a Checkbox
question, one cannot move the cursor up and down to select the boxes to check.
Example
Consider the following program:
import inquirer
questions = [
inquirer.Checkbox(
"food",
"What do you like to eat?",
choices=["banana", "apple", "ice-creem"]
)
]
answers = inquirer.prompt(questions)
print(answers)
Reproduction steps are:
- Copy the code above
- Run it on Windows computer in Power Shell
- Check the banana option (that works)
- Press the down arrow to move to the second option (that doesn’t work)
Additional Information
Windows 10 Python version: 3.9.5 Inquirer version: 2.9.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
Bug Do this for all conflicts checkbox not working Windeos 10 ...
This is an old problem and I see Microsoft has not fixed it. ... No one does QA on something so important as...
Read more >Fix: Item Checkboxes Cannot Be Disabled on Windows 11
If you can't disable checkboxes in File Explorer, try disabling the checkbox option in Folder Settings. Then, edit your Registry settings and ...
Read more >How to insert a checkbox in Microsoft Word, Excel ... - IT PRO
Step 1: Click the checkbox icon in the Developer tab. screenshot of symbols menu in Word. Changing the checkbox symbol in Word is...
Read more >Insert a Clickable Checkbox | Create a Checklist in Word
In this video I demonstrate how to add a clickable checkbox to your Microsoft Word document. You can choose how your checkbox appears...
Read more >How to insert a checkbox in Word - Digital Trends
1. Select the File tab in the top-left corner and then choose Options in the bottom-left corner of the next screen. 2. Click...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I decided to take the time to provide a proper workaround as @magmax is currently not reacting.
Whoever needs an updatet version of python-readchar urgently can install my fix from my fork by using
git+https://github.com/Cube707/python-readchar.git@v3.0.6
either in arequirements.txt
file or directly from the comandline as:it is marked as version
3.0.6-dev0
, so it will override a existing3.0.5
installation but will be overriden by a official version3.0.6
release (when it’s released…). See https://github.com/magmax/python-readchar/pull/76 for more informationI am also working on a version 4 of readchar (what @zixuan945 linked to above). As this will intreduce breaking changes and is not fully developed jet, I would not recomend using that version.
@RazvanCretu @Cube707 Before the official fix, you can replace readchar folder of the attached files readchar.zip to your current python module path. it’s a file copies of magmax/python-readchar#71 or you can checkout that pr and replace it by yourself