mattn / go-tty

MIT License
211 stars 18 forks source link

Crash after window resize (Windows) #20

Open srlehn opened 5 years ago

srlehn commented 5 years ago

This happens for Windows. #17, #19 are instead for Unix.

This crash can be tested with the code from #19.

The crash happens after resizing the image and releasing the mouse button.

Tested with conhost, mintty, ConEmu.

crash20_1

crash20_2


Bug is related to line 209 in tty_windows.go. I couldn't solve it though.

crash20_3

srlehn commented 5 years ago

fix required for PR: https://github.com/gizak/termui/pull/233