Skip to content
← Back to Community
Clearing the Terminal (Swift)
Profile icon
CannoliCoder

I am unsure of how to clear the terminal in repl.it and would appreciate if someone could show me how.

Voters
Profile icon
NDcoder
Profile icon
CannoliCoder
Comments
hotnewtop
Profile icon
theangryepicbanana

try printing "\003[2J\003[H"

Profile icon
SixBeeps