summaryrefslogtreecommitdiff
path: root/ui/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/ui.go b/ui/ui.go
index 077f599..bbdc425 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -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)
}