Answers for "how to clear the console rust"

1

how to clear the console rust

print!("{}c",27 as char);
Posted by: Guest on April-16-2022
0

rust clear console

//you can use a control character

fn main() {
    print!("{}[2J", 27 as char);
}
Posted by: Guest on February-14-2021

Code answers related to "how to clear the console rust"

Browse Popular Code Answers by Language