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.
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.