1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 15:43:01 +00:00

issues with gettime on mach kernel.

This commit is contained in:
Calvin Rose
2020-07-03 20:19:36 -05:00
parent 2b36ed967c
commit 4721337c7c
2 changed files with 7 additions and 0 deletions

View File

@@ -1006,8 +1006,10 @@ int main(int argc, char **argv) {
SetConsoleOutputCP(65001);
#endif
#if !defined(JANET_WINDOWS) && !defined(JANET_SIMPLE_GETLINE)
/* Try and not leave the terminal in a bad state */
atexit(norawmode);
#endif
/* Set up VM */
janet_init();