When we close the application using the quit function F10, the last line is cleared so that on terminals which do not support ALTBUF the last line is not clobbered. This do not happen when the application exits as a result of a signal (SIGINT,SIGTERM,SIGQUIT). Move the logic to clear the last line into the CRT_done function. This ensures that it will be executed when the CRT_handleSIGTERM is called.main
parent
43e9be5a8f
commit
ff0ea41c86
2 changed files with 5 additions and 5 deletions
Loading…
Reference in new issue