mattn / go-tty

MIT License
208 stars 18 forks source link

prevent TUI crash on SIGWINCH #16

Closed srlehn closed 5 years ago

srlehn commented 5 years ago

One of my text user interface projects did start to crash on resizing the terminal emulator window. "Wessie" from #go-nuts suggested this change.

Test program for reproducing the crash: main.go.txt

It works together with PR #15.

srlehn commented 5 years ago

needed for https://github.com/gizak/termui/pull/233

mattn commented 5 years ago

Thank you. I could reproduce this.

srlehn commented 5 years ago

Thanks for merging. You have quite a few nice repos...