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;
|
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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user