Fix readline rl_kill_line
This commit is contained in:
parent
404ba37a0a
commit
2fe5ae413b
@ -98,7 +98,7 @@ class ReadlineBridge:
|
|||||||
"""Readline: Kill the text from point to the end of the line."""
|
"""Readline: Kill the text from point to the end of the line."""
|
||||||
if self.widget is None:
|
if self.widget is None:
|
||||||
return
|
return
|
||||||
self.widget.home(True)
|
self.widget.end(True)
|
||||||
self.deleted[self.widget] = self.widget.selectedText()
|
self.deleted[self.widget] = self.widget.selectedText()
|
||||||
self.widget.del_()
|
self.widget.del_()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user