When the initial tea.WindowSizeMsg message comes in there seems to be some wonkyness in how bubbletea chooses to redraw the screen.
After Init() the screen is drawn and then the WindowSizeMsg is returned asyncronously and seems to improperly update the screen with the new details. This sends a ClearScrollArea message to force redrawing the entire screen.
This is a workaround and probably isn't a proper fix (you do see a flash as the update message comes in)
When the initial
tea.WindowSizeMsg
message comes in there seems to be some wonkyness in how bubbletea chooses to redraw the screen.After Init() the screen is drawn and then the WindowSizeMsg is returned asyncronously and seems to improperly update the screen with the new details. This sends a
ClearScrollArea
message to force redrawing the entire screen.This is a workaround and probably isn't a proper fix (you do see a flash as the update message comes in)
Fixes: #18