cursor_y should be zero when resetting

This commit is contained in:
Kovid Goyal
2022-11-14 15:42:07 +05:30
parent 0c82832356
commit 31dcb13836
+1
View File
@@ -235,6 +235,7 @@ func (self *Readline) ResetText() {
self.last_action = ActionNil
self.keyboard_state = KeyboardState{}
self.history_search = nil
self.cursor_y = 0
}
func (self *Readline) ChangeLoopAndResetText(lp *loop.Loop) {