mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 00:38:10 +02:00
Reset keyboard state when resetting text
This commit is contained in:
@@ -203,6 +203,7 @@ func (self *Readline) ResetText() {
|
||||
self.cursor = Position{}
|
||||
self.cursor_y = 0
|
||||
self.last_action = ActionNil
|
||||
self.keyboard_state = KeyboardState{}
|
||||
}
|
||||
|
||||
func (self *Readline) ChangeLoopAndResetText(lp *loop.Loop) {
|
||||
|
||||
Reference in New Issue
Block a user