From 93c76f42424280db23ea07fddc92370c64ccbe34 Mon Sep 17 00:00:00 2001 From: raul Date: Tue, 14 May 2024 15:42:03 +0200 Subject: [PATCH] Add chatbox text wrapping How the hell did I manage to forget about this? --- cmd/clientFunc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/clientFunc.go b/cmd/clientFunc.go index abdc46f..1e3c6de 100644 --- a/cmd/clientFunc.go +++ b/cmd/clientFunc.go @@ -287,6 +287,7 @@ func layout(g *gocui.Gui) error { chatbox.Autoscroll = true 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 {