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)
| 31 | /// Prints the EndBASIC welcome message to a wide console, with optional extra indentation to |
| 32 | /// leave space for the logo. |
| 33 | fn 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. |
| 42 | fn print_graphical_welcome(console: &mut dyn Console) -> io::Result<()> { |
no test coverage detected