flush stdout on •Show and •Out
This commit is contained in:
parent
db6118489d
commit
d3b4c3cc26
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user