Skip to content

Repl Output is replaced even if it shouldn't (i.e. loops) #975

@limitcracker

Description

@limitcracker

Checklist

  • I added a descriptive title
  • I searched for other issues and couldn't find a solution or duplication
  • I already searched in Google and didn't find any good information or help

What happened?

In latest version when I have a loop inside a <py-repl> I get the output replaced each time instead of appended.

i.e.

<py-repl id="my-repl-11nov22-1333" auto-generate="true"> 
for i in range(10):
    print(i)
</py-repl>

What browsers are you seeing the problem on? (if applicable)

Chrome

Console info

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions