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

Use some padding for the user

This commit is contained in:
James Mills 2022-03-20 14:58:55 +10:00
parent 2f4f59c202
commit e25622a087

@ -102,7 +102,7 @@ func (cc *chatClient) updateChatBox(inCh <-chan string, app *tview.Application,
cc.mu.RLock()
app.QueueUpdateDraw(func() {
fmt.Fprintf(chatBox,
"[#%s]%s\t[#%x]%s\t[#%s]%s\n",
"[#%s]%s [#%x]%-30s [#%s]%s\n",
cc.palette["date"],
s.Timestamp.DateTime().Local().Format(dateTimeFormat),
getUserColor(s.User.String()).Hex(),