gh-124027: Support Del, PgUp, and PgDn on TERM=vt100 (#124028)

pyrepl: Support Del, PgUp, and PgDn on TERM=vt100

From Fedora's /etc/inputrc:

    "\e[5~": history-search-backward
    "\e[6~": history-search-forward
    "\e[3~": delete-char

Fixes https://github.com/python/cpython/issues/124027
This commit is contained in:
Miro Hrončok 2024-09-13 03:07:23 +02:00 committed by GitHub
parent 6e06e01881
commit f4e5643df6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,2 @@
Support ``<page up>``, ``<page down>``, and ``<delete>`` keys in the Python
REPL when ``$TERM`` is set to ``vt100``.