1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-03-22 08:47:24 +00:00

Bugfix #24: Set cursor of popupView to 0,0 to avoid strange input bugs

This commit is contained in:
2019-10-22 09:18:27 -04:00
parent 2dd635669c
commit e084c16ba8

View File

@ -196,8 +196,7 @@ func popupView(viewName string) {
if err != nil { if err != nil {
return err return err
} }
viewX, viewY := updatingView.Size() updatingView.MoveCursor(0, 0, true)
updatingView.MoveCursor(viewX, viewY, true)
return nil return nil