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

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