When hitting Ctrl + Left/Right Arrow Key inside a Python Interpreter, the expected behavior is you'll move your cursor to the previous/next word. This isn't really happening at the moment. Instead, it just moves the cursor per letter.
I've been using Python for years, and I swear it wasn't like this.
I'm using Windows 11 and it's installed System Wide.
For context, I already tried reinstalling and it's still behaving this way. And yes, the behavior is as expected when outside of the interpreter and just inside the CLI.
https://youtu.be/WecyDCrqQPs
When hitting Ctrl + Left/Right Arrow Key inside a Python Interpreter, the expected behavior is you'll move your cursor to the previous/next word. This isn't really happening at the moment. Instead, it just moves the cursor per letter.
I've been using Python for years, and I swear it wasn't like this.
I'm using Windows 11 and it's installed System Wide.
For context, I already tried reinstalling and it's still behaving this way. And yes, the behavior is as expected when outside of the interpreter and just inside the CLI.
Share Improve this question edited Mar 24 at 23:45 enaielei asked Mar 24 at 16:37 enaieleienaielei 895 bronze badges 5 |1 Answer
Reset to default 1I've downgraded to 3.12.9 and it seems to be working as expected again.
Also, posted this as an issue on GitHub. The reason given to me was this: https://github/python/cpython/issues/131700#issuecomment-2749697973
Esc-b
/Esc-f
appear to work - but both keystrokes must be repeated for each successive jump – chickity china chinese chicken Commented Mar 24 at 20:00