6
1
mirror of https://git.mills.io/saltyim/saltyim.git synced 2024-06-16 11:58:24 +00:00

Have text not touch border (#17)

It's the little things...

Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: https://git.mills.io/prologic/saltyim/pulls/17
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
This commit is contained in:
Phil S 2022-03-20 06:13:52 +00:00 committed by James Mills
parent 4fec1b3fa9
commit 1e9101d96d

@ -106,7 +106,7 @@ func (cc *chatClient) updateChatBox(inCh <-chan string, app *tview.Application,
f := formatter.Formatter{
Writer: buf,
Indent: []byte("> "),
Width: width,
Width: width-1,
}
if _, err := f.Write([]byte(s.LiteralText())); err != nil {