summaryrefslogtreecommitdiff
path: root/internal/client/client.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-01-25 19:16:04 +0200
committerKyren223 <Kyren223@proton.me>2025-01-25 19:16:04 +0200
commit1935052450ffb120ef7e52055590b20090dd84ad (patch)
tree14e4637621167f575e856214988676369aa0f143 /internal/client/client.go
parentab6bfe91866e3c3d896921e85fb6172567be7e6f (diff)
Window resize messages now propagate to child views instead of just
changing the ui height/width which causes a re-render making the app more responsive
Diffstat (limited to 'internal/client/client.go')
-rw-r--r--internal/client/client.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/client/client.go b/internal/client/client.go
index 5fe2454..49e3c80 100644
--- a/internal/client/client.go
+++ b/internal/client/client.go
@@ -91,7 +91,6 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
case tea.WindowSizeMsg:
ui.Width, ui.Height = msg.Width, msg.Height
- return m, nil
case ui.ModelTransition:
log.Println("Transition model from", reflect.TypeOf(m.model).String(), "to", reflect.TypeOf(msg.Model).String())