Fix autoscrolling of text overflow in chat
This commit is contained in:
parent
2c9c1d865c
commit
7824a86a23
1 changed files with 2 additions and 1 deletions
3
main.go
3
main.go
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue