summaryrefslogtreecommitdiff
path: root/ui/ui.go
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2021-10-31 13:11:50 +0100
committerHubert Hirtz <hubert@hirtz.pm>2021-11-04 18:48:16 +0100
commit96340f8c4d91f59f6e39767891f9bb52d7fad329 (patch)
treeeac70e8a7e58698494e2944659eaf4a0a9d60b2a /ui/ui.go
parentRemove IRC formatting before printing the topic (diff)
Show the current channel topic at the top of the timeline
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/ui.go b/ui/ui.go
index cda5a06..3df80ea 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -225,6 +225,10 @@ func (ui *UI) JumpBufferNetwork(netID, sub string) bool {
return false
}
+func (ui *UI) SetTopic(netID, buffer string, topic string) {
+ ui.bs.SetTopic(netID, buffer, topic)
+}
+
func (ui *UI) SetStatus(status string) {
ui.status = status
}