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) {
|
B out_c1(B t, B x) {
|
||||||
if (isAtm(x) || RNK(x)!=1) thrM("•Out 𝕩: 𝕩 must be a string");
|
if (isAtm(x) || RNK(x)!=1) thrM("•Out 𝕩: 𝕩 must be a string");
|
||||||
printsB(x); printf("\n");
|
printsB(x); printf("\n");
|
||||||
|
fflush(stdout);
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
B show_c1(B t, B x) {
|
B show_c1(B t, B x) {
|
||||||
@ -272,6 +273,7 @@ B show_c1(B t, B x) {
|
|||||||
printI(x);
|
printI(x);
|
||||||
#endif
|
#endif
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
fflush(stdout);
|
||||||
#endif
|
#endif
|
||||||
return x;
|
return x;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user