fix(windows): prevent firing multiple window size events
Before adoption: this commit came in with the history the project adopted, so no landing records it.
On Windows, changing the alt-screen-buffer triggers a window-size-event. This might cause issues with some applications. Cache the last window-size-event and compare before sending it the model.
authored by Ayman Bagabas · committed by Ayman Bagabas · parent 920d07b · Browse files · 1 file+9 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Fixes: https://github.com/charmbracelet/bubbletea/issues/1019
Diff stats
1 file+9 added−5 removed
- other:+9 added−5 removed