ring the bell on exit; this should resemble a notification
This commit is contained in:
parent
6fd1f043a4
commit
d7cb91d3be
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user