cursor_y should be zero when resetting
This commit is contained in:
parent
0c82832356
commit
31dcb13836
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user