Merge branch 'tui-line-edit-cursor-end' of https://github.com/trygveaa/kitty

This commit is contained in:
Kovid Goyal 2020-02-23 18:21:27 +05:30
commit 82e5750d71
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -103,7 +103,7 @@ class LineEdit:
def end(self):
orig = self.cursor_pos
self.cursor_pos = wcswidth(self.current_input) + 1
self.cursor_pos = wcswidth(self.current_input)
return self.cursor_pos != orig
def on_key(self, key_event):