mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-03 14:37:05 +03:00
Merge remote-tracking branches 'cgyarvin/nostop' and 'ohaitch/speech-eval'
Abort instead of suspend No identifier named "speeeeeeeeeeeech"
This commit is contained in:
commit
a1c09592b8
11
vere/main.c
11
vere/main.c
@ -371,6 +371,13 @@ report(void)
|
||||
printf("libuv: %s\n", uv_version_string());
|
||||
}
|
||||
|
||||
void
|
||||
_stop_exit(c3_i int_i)
|
||||
{
|
||||
fprintf(stderr, "\r\n[received keyboard stop signal, exiting]\r\n");
|
||||
u3_lo_bail();
|
||||
}
|
||||
|
||||
c3_i
|
||||
main(c3_i argc,
|
||||
c3_c** argv)
|
||||
@ -423,6 +430,10 @@ main(c3_i argc,
|
||||
}
|
||||
}
|
||||
|
||||
// Handle SIGTSTP as if it was SIGTERM.
|
||||
//
|
||||
signal(SIGTSTP, _stop_exit);
|
||||
|
||||
printf("~\n");
|
||||
// printf("welcome.\n");
|
||||
printf("urbit: home is %s\n", u3_Host.dir_c);
|
||||
|
Loading…
Reference in New Issue
Block a user