termui
termui copied to clipboard
Resize event not emitted on windows 7
Hey,
i noticed that the resize event is not emitted on windows 7.
66 ui.Handle("/sys/wnd/resize", func(e ui.Event) {
[...]
73 })
The program was compiled on OSX with GOOS=windows GOARCH=386 go build prog.go
and started on windows 7 with the default system shell.
As a workaround I start a timer and poll the terminal size and update the view if required.
Regards, Ruben