Clean up ncurses mess in terminal after a crash

后端 未结 5 1401
南方客
南方客 2020-12-14 03:59

I am drawing a TUI using ncurses. The trouble is that whenever my program gets seg-fault, my terminal is left in mess. I can not see what I am typing. Its a pain since I am

5条回答
提交回复
热议问题