The idea is to clear the output of the python REPL provided by pyscript, embedded in a website.
I have tried the regular ways used in the OS console (os.system("clear")
, print("\033c")
and similar), but they don't work.
I have not found anything in the documentation of the py-repl or py-terminal elements.