You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug WindowSizeMsg doesnt get send anymore in v2.0.0 on window resizes. Only on tea.RequestWindowSize. Only on Windows. Mac and Linux seem fine.
Setup
Windows 11
Windows Powershell, Windows Powershell 7, CMD
Windows Consolehost, Windows Terminal
To Reproduce
Run go run .\examples\window-size\main.go
Resize the terminal window
Nothing happens
Source Code
Not needed bubbletea has an example
Expected behavior
It should show window size msgs on resize but nothing appears.
Screenshots
This was the behavior in v2.0.0 RC 2 (as it should be)
20260225-1041-53.3003599.mp4
This is the current behavior in v2.0.0 (broken)
20260225-1037-44.5143366.mp4
Additional context
I found that the commit b3661ce introduced tty as default input seems like this doesnt work for windows. Using tea.WithInput(os.Stdin) as option fixes this.
Describe the bug
WindowSizeMsgdoesnt get send anymore in v2.0.0 on window resizes. Only ontea.RequestWindowSize. Only on Windows. Mac and Linux seem fine.Setup
To Reproduce
go run .\examples\window-size\main.goSource Code
Not needed bubbletea has an example
Expected behavior
It should show window size msgs on resize but nothing appears.
Screenshots
This was the behavior in v2.0.0 RC 2 (as it should be)
20260225-1041-53.3003599.mp4
This is the current behavior in v2.0.0 (broken)
20260225-1037-44.5143366.mp4
Additional context
I found that the commit b3661ce introduced tty as default input seems like this doesnt work for windows. Using
tea.WithInput(os.Stdin)as option fixes this.