Introduce -q (quiet flag) and improve ctrl-c ux

This commit is contained in:
Justine Tunney 2023-05-12 09:46:07 -07:00
parent e8de1e4766
commit 45186c74ac
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
5 changed files with 43 additions and 29 deletions

View file

@ -60,6 +60,7 @@ static inline void __oncrash(int sig, struct siginfo *si, void *arg) {
}
static void __got_sigquit(int sig, struct siginfo *si, void *arg) {
write(2, "^\\", 2);
__oncrash(sig, si, arg);
}
static void __got_sigfpe(int sig, struct siginfo *si, void *arg) {