Maybe I’m doing something wrong, but everytime I run code it starts a new interpret line in the console, while I want it to clear the console.
I’m googling it and asking AI, but no luck. What am I missing?
This is a Replit update. With each new start, a new line will now be created in the console. This allows you to compare the results of launches. If you need to clear the console, you can click on the trash button on the console tab.
2 Likes
So no way to set it up to do this automatically after each time I run code?
1 Like
No, I don’t think you can.
1 Like
Ok, thanks for your help
1 Like
A “workaround” is to, at the start of your program, print enough lines so that the previous runs go away. Then, optionally, clear the console.
Here’s a python version:
Ok, thanks for the help!