mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Merge branch 'tui-line-edit-cursor-end' of https://github.com/trygveaa/kitty
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user