summaryrefslogtreecommitdiff
path: root/internal/client/ui/chat
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/chat')
-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