Add chatbox text wrapping
How the hell did I manage to forget about this?
This commit is contained in:
parent
a21199a6e0
commit
93c76f4242
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue