Add chatbox text wrapping

How the hell did I manage to forget about this?
This commit is contained in:
raul 2024-05-14 15:42:03 +02:00
parent a21199a6e0
commit 93c76f4242
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@ func layout(g *gocui.Gui) error {
chatbox.Autoscroll = true chatbox.Autoscroll = true
chatbox.Title = "Chat Box (Find source at https://git.bulgariu.xyz/raul/mini-chat!)" chatbox.Title = "Chat Box (Find source at https://git.bulgariu.xyz/raul/mini-chat!)"
chatbox.Wrap = true
} }
// if button, err := g.SetView("button", maxX/2+32, maxY-4, maxX-28, maxY-2); err != nil { // if button, err := g.SetView("button", maxX/2+32, maxY-4, maxX-28, maxY-2); err != nil {