Skip to content

Commit

Permalink
feat(xsnap): flush each print()
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Jan 19, 2021
1 parent d7a61ca commit 1da1341
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/xsnap/src/xsnap.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ void fx_print(xsMachine* the)
fprintf(stdout, "%s", xsToString(xsArg(i)));
}
fprintf(stdout, "\n");
fflush(stdout);
}

// void fx_setInterval(txMachine* the)
Expand Down

0 comments on commit 1da1341

Please sign in to comment.