diff options
author | Jordan Bracco <href@random.sh> | 2023-01-15 17:36:09 +0100 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2023-01-15 17:36:09 +0100 |
commit | f46d6b102099c327aab2afad6a4ce4f860b5ef83 (patch) | |
tree | 098dcff619a134b15caa3d3d7a3d82562f3786d4 | |
parent | Multi-WIP that I probably should have done in multiples commits: (diff) |
ui: topic: try another display.href/master
-rw-r--r-- | app.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1531,15 +1531,15 @@ func (app *App) printTopic(netID, buffer string) (ok bool) { topic = ui.IRCString(topic).String() app.win.AddLine(netID, buffer, ui.Line{ At: time.Now(), - Head: "topic", + Head: buffer, HeadColor: tcell.ColorGray, HeadTag: "topic", Body: ui.Styled(topic, tcell.StyleDefault.Foreground(tcell.ColorWhite)), }) if who != nil { - body = fmt.Sprintf("%s at %s", who, at.Local().Format("Mon 2 Jan 15:04:05")) + body = fmt.Sprintf("topic set by %s at %s", who, at.Local().Format("Mon 2 Jan 15:04:05")) } else { - body = fmt.Sprintf("%s", at.Local().Format("Mon 2 Jan 15:04:05")) + body = fmt.Sprintf("topic set at %s", at.Local().Format("Mon 2 Jan 15:04:05")) } app.win.AddLine(netID, buffer, ui.Line{ At: time.Now(), |