mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +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):
|
def end(self):
|
||||||
orig = self.cursor_pos
|
orig = self.cursor_pos
|
||||||
self.cursor_pos = wcswidth(self.current_input) + 1
|
self.cursor_pos = wcswidth(self.current_input)
|
||||||
return self.cursor_pos != orig
|
return self.cursor_pos != orig
|
||||||
|
|
||||||
def on_key(self, key_event):
|
def on_key(self, key_event):
|
||||||
|
|||||||
Reference in New Issue
Block a user