termui icon indicating copy to clipboard operation
termui copied to clipboard

Resize event not emitted on windows 7

Open r10r opened this issue 8 years ago • 0 comments

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

r10r avatar Jan 19 '16 15:01 r10r