diff options
author | delthas <delthas@dille.cc> | 2021-10-31 13:11:50 +0100 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-11-04 18:48:16 +0100 |
commit | 96340f8c4d91f59f6e39767891f9bb52d7fad329 (patch) | |
tree | eac70e8a7e58698494e2944659eaf4a0a9d60b2a /ui/ui.go | |
parent | Remove 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.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 } |