◐ Shell
clean mode source ↗

`pyrepl` on Windows: add Ctrl+← and Ctrl+→ word-skipping and other keybindings

Feature or enhancement

Proposal:

Currently, _pyrepl/windows_console.py is very limited compared to _pyrepl/unix_console.py, for example, it doesn't support the Ctrl+ and Ctrl+ word-skipping keybindings (see also #119248) nor any of the keybindings that use meta (i.e. Alt), e.g. to kill-word or backward-kill-word.

This is extra-annoying given the fact that the previous Python REPL did support Ctrl+andCtrl+→` word-skipping keybindings in Windows, i.e. before pyrepl was used for Python 3.13.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs