Issue 1048816: C-k does not work for curses.textpad.Textbox (original) (raw)

Issue1048816

Created on 2004-10-17 19:51 by stefanheimann, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
ctrl-k.patch stefanheimann,2004-10-17 19:52
Messages (2)
msg22729 - (view) Author: Stefan Wehr (stefanheimann) Date: 2004-10-17 19:51
The bug can be reproduced by starting the textpad module directly (by executing 'python textpad.py' inside the curses directory). The you should type: 1 2 3 C-a C-k You would expected an empty textbox (because you first enter the string '123', the go the the beginning of the line and then delete until the end of the line). But the textbox contains the text '12'. My Python version is 2.3.3, a patch is attached.
msg22730 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2004-10-19 19:50
Logged In: YES user_id=11375 Well spotted; thanks! I've applied your patch to 2.4-CVS and to the 2.3-maint branch, so the fix should be in Python 2.3.5, whenever it gets released.
History
Date User Action Args
2022-04-11 14:56:07 admin set github: 41035
2004-10-17 19:51:47 stefanheimann create