summaryrefslogtreecommitdiff
path: root/ui/ui.go
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2021-11-24 16:01:59 +0100
committerHubert Hirtz <hubert@hirtz.pm>2021-11-24 16:08:07 +0100
commitd41d7c5d975a4b9d80779065c4a4d9e09b35ae91 (patch)
treeef0a7ba5ca1ba5270d8a28c002c2fe1d13cf920a /ui/ui.go
parentOnly use first line of `password-cmd` output (diff)
Show the current channel topic at the top of the timeline
Diffstat (limited to '')
-rw-r--r--ui/ui.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 97f7148..fe5ceef 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -231,6 +231,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
}