rustbox icon indicating copy to clipboard operation
rustbox copied to clipboard

Signals are not handler properly

Open nadejin opened this issue 10 years ago • 1 comments

My term is completely broken after finishing application with SIGINT/SIGTERM (cursor and input characters are invisible, x axis positioning is broken too), I guess these signals should be handled to terminate resources properly. I'm using Arch Linux and termite terminal emulator.

nadejin avatar Oct 21 '15 20:10 nadejin

Yup, tui programs almost always need to install signal handlers.

Run stty before and after to find the diff.

Quick fix is reset.

skull-squadron avatar Oct 03 '17 03:10 skull-squadron