Fix autoscrolling of text overflow in chat

This commit is contained in:
Tony Blyler 2018-06-12 11:46:39 -04:00
parent 2c9c1d865c
commit 7824a86a23

View file

@ -108,8 +108,8 @@ func main() {
return err return err
} }
v.Editable = true
v.Wrap = true v.Wrap = true
v.Autoscroll = true
} }
v, err = gui.SetView("input", 1, maxY-4, maxX-1, maxY-1) v, err = gui.SetView("input", 1, maxY-4, maxX-1, maxY-1)
if err != nil { if err != nil {
@ -123,6 +123,7 @@ func main() {
v.Editable = true v.Editable = true
v.Wrap = true v.Wrap = true
v.Autoscroll = true
} }
return nil return nil