mirror of
https://github.com/python/cpython.git
synced 2025-11-18 01:57:37 +00:00
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. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| _minimal_curses.py | ||
| _threading_handler.py | ||
| commands.py | ||
| completing_reader.py | ||
| console.py | ||
| curses.py | ||
| fancy_termios.py | ||
| historical_reader.py | ||
| input.py | ||
| keymap.py | ||
| main.py | ||
| mypy.ini | ||
| pager.py | ||
| reader.py | ||
| readline.py | ||
| simple_interact.py | ||
| trace.py | ||
| types.py | ||
| unix_console.py | ||
| unix_eventqueue.py | ||
| utils.py | ||
| windows_console.py | ||