]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-71880: Allow editing the last cell in curses.textpad.Textbox (GH-152363...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 27 Jun 2026 07:45:50 +0000 (09:45 +0200)
committerGitHub <noreply@github.com>
Sat, 27 Jun 2026 07:45:50 +0000 (10:45 +0300)
commitd4de07942819a8f7260f1d35b7fab39f3e065202
treef432b088093545cdbb43bac3998133bb28d945bd
parent540b24f1b0aca176d0709ae9aa029a595b44222c
[3.14] gh-71880: Allow editing the last cell in curses.textpad.Textbox (GH-152363) (GH-152365)

Textbox.edit() ignored typing in the lower-right cell of the window.  It is
now written with insch(), which fills the cell without moving the cursor out
of the window (addch() there raises an error and scrolls a scrollable window).
(cherry picked from commit 11b394381f30815a8ad0123afb0a55e7a0369f79)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/curses/textpad.py
Lib/test/test_curses.py
Misc/NEWS.d/next/Library/2026-06-26-23-56-40.gh-issue-71880.782D31.rst [new file with mode: 0644]