I want to use the inquirer package from python but I am unable to do so in IntelliJ IDEA (or PyCharm). When I try this simple code below:
import inquirer
questions = [
inquirer.Editor('long_text', message="Provide long text")
]
answers = inquirer.prompt(questions)
Provide long text: Press < enter > to launch your editor
which looks normal, but I can't type anything. If I try to type (notice how the cursor is below the prompt) and press Enter I get this error message:
Previous command is still running. Please wait or press Ctrl+C in console to interrupt
When using the input()
command built-in from python, everything works as expected.
environment Python 3.11 (via venv) inquirer 3.1.3
Thanks in advance!