ciao
ciao copied to clipboard
(playground) pause/1 doesn't give browser time to do something
Maybe this is an issue of flush_output/1
. But I don't
get this example working:
test :- write('Hello '), flush_output,
pause(1),
write('World!'), nl.
It waits but Hello
is not seen partially:
https://ciao-lang.org/playground/
https://user-images.githubusercontent.com/95891213/185783467-ca7342ea-22cd-4aba-91cb-aa7ded5088ce.mp4
A related but different bug here: https://github.com/SWI-Prolog/swipl-devel/issues/1023
Related to https://github.com/ciao-lang/ciao/issues/58