aisk / pick

create curses based interactive selection list in the terminal
MIT License
721 stars 60 forks source link

I copied the sample code but don't know why the error is reported #109

Open QingXuan2000 opened 10 months ago

QingXuan2000 commented 10 months ago

I copied the instance code but don't know why the error is reported

python3.xx pick2.20 `from pick import pick

title = 'Please choose your favorite programming language: ' options = ['Java', 'JavaScript', 'Python', 'PHP', 'C++', 'Erlang', 'Haskell']

option, index = pick(options, title, indicator='=>', default_index=2) `

output : D:\PythonCode\pythonProject1\venv\Scripts\python.exe D:\PythonCode\pythonProject1\main.py

Process ended with exit code -1073741819 (0xC0000005)

屏幕截图 2023-10-27 193804

aisk commented 4 months ago

Hi, can you try the code in a real terminal instead of PyCharm, like cmd.exe or Windows Terminal, to ensure if it caused by the different between PyCharm's terminal and real terminal.