MCPcopy Create free account
hub / github.com/ExtropyIO/SolanaBootcamp / clear_screen

Function clear_screen

homeworks_rust/src/main.rs:220–222  ·  view source on GitHub ↗

Clears the terminal with an ANSI escape code. Works in UNIX and newer Windows terminals. */

()

Source from the content-addressed store, hash-verified

218 /* Clears the terminal with an ANSI escape code.
219 Works in UNIX and newer Windows terminals. */
220 fn clear_screen() {
221 println!("\x1Bc");
222 }
223
224 println!("exercises: {:?}", exercises);
225 println!("exercise[0]: {:?}", exercises.len());

Callers 1

homeworkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected