Closed shantanutheone closed 4 years ago
Does it work outside of VScode?
Just an idea: Does VScode have an option somewhere to enable VT emulation? Else, is VT emulation enabled in general (system wide) for you?
Yes, it does work outside of VScode and also I have enabled VT emulation from powershell of VScode but this doesn't work too.
Which curses module for Python are you using on Windows?
Not using any curses module. Should I be?
Pick uses curses and the way I read #15 I assumed you installed some curses module manually at some point in the past — no?
Yes yes now i remember the prerequisites of the pick module so i followed the readme and installed it like - pip install windows-curses
Does it work now?
No ofcourse not, i was telling the answer of your question that how do i installed curses.
@shantanutheone : @wong2 is not me/@hartwork :smile: @wong2: Nothing changed, we just gathered more information on the precise environment
ok I'll investigate it
@wong2 Yes please check it by running it in VScode terminal. You'll know exactly what i'm talking about.
I tried and it works for me
Ok then I'll check my VScode terminal setting then.
I have this same problem (arrow keys not moving the cursor and printing) while trying to make my application work in windows (through testing in wine).
Might not be worth it to you if it's a wine only problem although i'd prefer the peace of mind confirming that
I'm using the curses package from the pip install of my app through wine (transitively from pick) and it did install:
Successfully installed beautifulsoup4-4.10.0 click-8.0.4 colorama-0.4.4 lxml-4.8.0 pick-1.2.0 rhdndat-2.0.0 soupsieve-2.3.1 typer-0.4.0 windows-curses-2.3.0
nosing around the internet made me suspicious of this bug report, which seems a very similar problem: https://github.com/microsoft/vscode/issues/112405
maybe wine behaves like vscode in this?
Up or Down Arrow is not working in vscode terminal