fix: Space/Left/Right passthrough in host form, key/snippet refresh on save/delete, WindowSize to all tabs, footer improvements
This commit is contained in:
+6
-1
@@ -146,9 +146,14 @@ func (tm *TabManager) Update(msg tea.Msg) (tea.Cmd, error) {
|
||||
}
|
||||
}
|
||||
|
||||
// Handle window resize
|
||||
// Handle window resize — forward to ALL tabs
|
||||
if wsMsg, ok := msg.(tea.WindowSizeMsg); ok {
|
||||
tm.SetSize(wsMsg.Width, wsMsg.Height)
|
||||
for i, t := range tm.tabs {
|
||||
updated, _ := t.Update(msg)
|
||||
tm.tabs[i] = updated
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
updated, cmd := tm.tabs[tm.active].Update(msg)
|
||||
|
||||
Reference in New Issue
Block a user