summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2025-03-03 15:57:53 (GMT)
committerGitHub <noreply@github.com>2025-03-03 15:57:53 (GMT)
commit4c6318e24ddd6a4aeb243c064055a38823a142bb (patch)
tree1c5cb18dca367a366d0595c31fcaec678e7956bd /Python/pythonrun.c
parentbc5c2b857330dc077986b9745d7c18415db9d3af (diff)
downloadcpython-4c6318e24ddd6a4aeb243c064055a38823a142bb.zip
cpython-4c6318e24ddd6a4aeb243c064055a38823a142bb.tar.gz
cpython-4c6318e24ddd6a4aeb243c064055a38823a142bb.tar.bz2
[3.13] gh-128388: pyrepl on Windows: add meta and ctrl+arrow keybindings (GH-128389) (GH-130500)
gh-128388: pyrepl on Windows: add meta and ctrl+arrow keybindings (GH-128389) Fix `Lib/_pyrepl/windows_console.py` to support more keybindings, like the `Ctrl`+`←` and `Ctrl`+`→` word-skipping keybindings and those with meta (i.e. Alt), e.g. to `kill-word` or `backward-kill-word`. Specifics: if Ctrl is pressed, emit "ctrl left" and "ctrl right" instead of just "left" or "right," and if Meta/Alt is pressed, emit the special key code for meta before emitting the other key that was pressed. (cherry picked from commit 688f3a0d4b94874ff6d72af3baafd8bbf911153e) Co-authored-by: Paulie Peña <203125+paulie4@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions