ring the bell on exit; this should resemble a notification

This commit is contained in:
anon 2023-12-05 12:06:25 +01:00
parent 6fd1f043a4
commit d7cb91d3be

View File

@ -128,8 +128,13 @@ bool init(){
return true;
}
[[ noreturn ]] void quit(int sig){
endwin();
const char BELL = '\a';
fputc(BELL, stderr);
if(execve_args){
execvpe(execve_args[0], execve_args, NULL);
}