summaryrefslogtreecommitdiff
path: root/internal/client/ui/chat/chat.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-09 21:36:11 +0200
committerKyren223 <Kyren223@proton.me>2024-11-09 21:36:11 +0200
commit1b2c19149631f0397d1532644e2a2ce3d6a44e11 (patch)
tree03e362bdcbb024c6ee08b2c86fbc29159e46980b /internal/client/ui/chat/chat.go
parent8d97e7000c6579180d37c977edf5d071e4ff1219 (diff)
feat: add WIP loading screen, messed around with custom spinners
Diffstat (limited to 'internal/client/ui/chat/chat.go')
-rw-r--r--internal/client/ui/chat/chat.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/client/ui/chat/chat.go b/internal/client/ui/chat/chat.go
index 1fd4537..b87071e 100644
--- a/internal/client/ui/chat/chat.go
+++ b/internal/client/ui/chat/chat.go
@@ -59,7 +59,7 @@ func (m Model) View() string {
) + ""
}
-func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
+func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) {
switch msg := msg.(type) {
case tea.WindowSizeMsg:
m.messagebox.Viewport.Width = msg.Width