diff options
author | delthas <delthas@dille.cc> | 2022-03-29 19:23:36 +0200 |
---|---|---|
committer | delthas <delthas@dille.cc> | 2022-04-12 18:01:39 +0200 |
commit | 7a86dff763bff9dcf1ddb14a5db4bd590c13af4a (patch) | |
tree | 8b1ab4534297f959c3611bca376e36322211d49d /ui/ui.go | |
parent | Add a 15s keepalive to connections (diff) |
Implement SEARCH
Also refactor ui/ to support overlays, temporary anonmyous buffers.
See: https://github.com/emersion/soju/pull/39
Diffstat (limited to 'ui/ui.go')
-rw-r--r-- | ui/ui.go | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -192,6 +192,18 @@ func (ui *UI) IsAtTop() bool { return ui.bs.IsAtTop() } +func (ui *UI) OpenOverlay() { + ui.bs.OpenOverlay() +} + +func (ui *UI) CloseOverlay() { + ui.bs.CloseOverlay() +} + +func (ui *UI) HasOverlay() bool { + return ui.bs.HasOverlay() +} + func (ui *UI) AddBuffer(netID, netName, title string) (i int, added bool) { return ui.bs.Add(netID, netName, title) } |