summaryrefslogtreecommitdiff
path: root/internal/client/ui/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/ui.go')
-rw-r--r--internal/client/ui/ui.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/client/ui/ui.go b/internal/client/ui/ui.go
index d199fa1..746fdd5 100644
--- a/internal/client/ui/ui.go
+++ b/internal/client/ui/ui.go
@@ -14,6 +14,7 @@ import (
"github.com/kyren223/eko/internal/client/ui/colors"
"github.com/kyren223/eko/pkg/assert"
+ "github.com/kyren223/eko/pkg/snowflake"
)
const (
@@ -51,6 +52,11 @@ func Transition(model tea.Model) tea.Cmd {
type QuitMsg struct{}
+type BanPopupMsg struct {
+ Network snowflake.ID
+ User snowflake.ID
+}
+
func AddBorderHeader(header string, headerOffset int, style lipgloss.Style, render string) string {
b := style.GetBorderStyle()
body := style.UnsetBorderTop().Render(render)