there’s a special terminal that gets created when you “python.execSelectionInTerminal” (e.g. with a keybind) that’s different from what happens when you run “python” from the terminal. the regular repl gives you the expected prompt for python code:
>>> 5+5
10
but in cursor IDE, it gives me
10
]633;E;5+5]633;D;0]633;A>>> ]633;B]633;C
steps to recreate:
install cursor IDE
install python extension
open python file
highlight code
press shift+enter
this problem does not exist in vscode.
it happens in my macbook and on my linux laptop.
I haven’t verified that not having vscode makes the problem go away, e.g. what happens if you don’t have vscode installed before installing cursor, IDK
I did try reinstalling the python extension in cursor IDE