Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(playground) pause/1 doesn't give browser time to do something #66

Open
Jean-Luc-Picard-2021 opened this issue Aug 21, 2022 · 1 comment
Labels

Comments

@Jean-Luc-Picard-2021
Copy link

Jean-Luc-Picard-2021 commented Aug 21, 2022

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/

Ciao.Prolog.Playground.-.Google.Chrome.2022-08-21.10-52-49.mp4
@jfmc
Copy link
Member

jfmc commented May 3, 2024

Related to #58

@jfmc jfmc reopened this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants