MCPcopy Index your code
hub / github.com/endbasic/endbasic / print_wide_welcome

Function print_wide_welcome

repl/src/lib.rs:33–39  ·  view source on GitHub ↗

Prints the EndBASIC welcome message to a wide console, with optional extra indentation to leave space for the logo.

(console: &mut dyn Console, extra_indent: &str)

Source from the content-addressed store, hash-verified

31/// Prints the EndBASIC welcome message to a wide console, with optional extra indentation to
32/// leave space for the logo.
33fn print_wide_welcome(console: &mut dyn Console, extra_indent: &str) -> io::Result<()> {
34 console.print("")?;
35 console.print(&format!(" {}EndBASIC {}", extra_indent, env!("CARGO_PKG_VERSION")))?;
36 console.print(&format!(" {}Copyright 2020-2026 Julio Merino", extra_indent))?;
37 console.print("")?;
38 console.print(" Type HELP for interactive usage information.")
39}
40
41/// Prints the EndBASIC welcome message to a graphical console.
42fn print_graphical_welcome(console: &mut dyn Console) -> io::Result<()> {

Callers 2

print_graphical_welcomeFunction · 0.85
print_welcomeFunction · 0.85

Calls 1

printMethod · 0.45

Tested by

no test coverage detected