mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 21:55:29 +02:00
cursor_y should be zero when resetting
This commit is contained in:
@@ -235,6 +235,7 @@ func (self *Readline) ResetText() {
|
|||||||
self.last_action = ActionNil
|
self.last_action = ActionNil
|
||||||
self.keyboard_state = KeyboardState{}
|
self.keyboard_state = KeyboardState{}
|
||||||
self.history_search = nil
|
self.history_search = nil
|
||||||
|
self.cursor_y = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *Readline) ChangeLoopAndResetText(lp *loop.Loop) {
|
func (self *Readline) ChangeLoopAndResetText(lp *loop.Loop) {
|
||||||
|
|||||||
Reference in New Issue
Block a user