fix panic: send on closed channel on windows
fix panic: send on closed channel on windows

if the term is resized when `ReadString` is being called and no one is reading form ws, we get a `panic: send on closed channel`.

It could make sense to poll getconsolescreenbufferinfo calls
mattn/go-tty