]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:46:08 +0000 (09:46 +0200)
committerGitHub <noreply@github.com>
Sat, 27 Jun 2026 07:46:08 +0000 (10:46 +0300)
commit8d8be61a2891cf3623181d5fc04fcf107211e397
tree301927e8e4de5469e15421a7dfd820a62ad0a10d
parent0bc5aad8cc1336794aef7e893632576a4dd12c39
[3.13] gh-71880: Allow editing the last cell in curses.textpad.Textbox (GH-152363) (GH-152366)

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]