go-prompt icon indicating copy to clipboard operation
go-prompt copied to clipboard

Catch a signal that window size is changed on Windows

Open c-bata opened this issue 7 years ago • 2 comments

I wrote that "windows support is almost perfect" in change log of v0.2.1 but I noticed a critical bug a while ago :(

Current implementation of go-prompt cannot catch signal for updating window size on Windows. So if you change a size of terminal emulator, the layout will be broken.

On Windows, ReadConsoleInput and WINDOW_BUFFER_SIZE_EVENT can be used for receiving window size change events.

c-bata avatar Feb 14 '18 18:02 c-bata

This problem will be fixed at #83.

c-bata avatar Jun 28 '18 05:06 c-bata

Looking forward to this fix.

zhusulai avatar Jul 19 '18 17:07 zhusulai