From 00dd876f252fb9bcdbfd0c7ffc0eaebcdde661dd Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 22 Nov 2024 16:46:19 +0200 Subject: Implemented proper connection and retry mechanisms --- internal/client/ui/ui.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/client/ui/ui.go') diff --git a/internal/client/ui/ui.go b/internal/client/ui/ui.go index 8cda302..762d0b6 100644 --- a/internal/client/ui/ui.go +++ b/internal/client/ui/ui.go @@ -15,6 +15,8 @@ import ( "github.com/kyren223/eko/pkg/assert" ) +const DEBUG = true + var Width int var Height int var BackgroundColor = "#1E1E2E" @@ -32,6 +34,8 @@ func Transition(model tea.Model) tea.Cmd { } } +type QuitMsg struct{} + func AddBorderHeader(header string, headerOffset int, style lipgloss.Style, render string) string { b := style.GetBorderStyle() body := style.UnsetBorderTop().Render(render) -- cgit v1.3.1