]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124027: Support Del, PgUp, and PgDn on TERM=vt100 (#124028)
authorMiro Hrončok <miro@hroncok.cz>
Fri, 13 Sep 2024 01:07:23 +0000 (03:07 +0200)
committerGitHub <noreply@github.com>
Fri, 13 Sep 2024 01:07:23 +0000 (02:07 +0100)
commitf4e5643df64d0c2a009ed224560044b3409a47c0
tree7d93abdf715a9a5213ea0b9f6542f5707c5edd9c
parent6e06e01881dcffbeef5baac0c112ffb14cfa0b27
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
Lib/_pyrepl/historical_reader.py
Lib/_pyrepl/reader.py
Misc/NEWS.d/next/Core_and_Builtins/2024-09-13-02-25-06.gh-issue-124027.to_9DY.rst [new file with mode: 0644]