mattn / go-tty

MIT License
208 stars 18 forks source link

Crash on window resize (SIGWINCH) (Unix) #19

Closed srlehn closed 5 years ago

srlehn commented 5 years ago

This is fixed by #15:

This difers from the already fixed #17 which happens instantly! see https://github.com/mattn/go-tty/issues/17#issuecomment-478334675 for details.

When the window is resized a lot it eventually crashes with "panic: send on closed channel"

tested with termui from https://github.com/gizak/termui/pull/233

test go code

demo

closed_channel

srlehn commented 5 years ago

15 is merged