flush stdout on •Show and •Out

This commit is contained in:
dzaima 2025-03-03 00:53:55 +02:00
parent db6118489d
commit d3b4c3cc26

View File

@ -261,6 +261,7 @@ B sys_c1(B t, B x);
B out_c1(B t, B x) {
if (isAtm(x) || RNK(x)!=1) thrM("•Out 𝕩: 𝕩 must be a string");
printsB(x); printf("\n");
fflush(stdout);
return x;
}
B show_c1(B t, B x) {
@ -272,6 +273,7 @@ B show_c1(B t, B x) {
printI(x);
#endif
printf("\n");
fflush(stdout);
#endif
return x;
}