diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-01-25 19:16:04 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-01-25 19:16:04 +0200 |
| commit | 1935052450ffb120ef7e52055590b20090dd84ad (patch) | |
| tree | 14e4637621167f575e856214988676369aa0f143 /internal/client/client.go | |
| parent | ab6bfe91866e3c3d896921e85fb6172567be7e6f (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.go | 1 |
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()) |
