Banner :-)

This commit is contained in:
Tony Garnock-Jones 2020-06-01 10:02:39 +02:00
parent 6c2084ca41
commit 80f7776668
1 changed files with 21 additions and 0 deletions

View File

@ -153,6 +153,27 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
trace!("startup");
{
const BRIGHT_GREEN: &str = "\x1b[92m";
const GREEN: &str = "\x1b[32m";
const NORMAL: &str = "\x1b[0m";
const BRIGHT_YELLOW: &str = "\x1b[93m";
info!(r" {} __{}__{}__ {}", GREEN, BRIGHT_GREEN, GREEN, NORMAL);
info!(r" {} /{}_/ \_{}\ {}", GREEN, BRIGHT_GREEN, GREEN, NORMAL);
info!(r" {} / \__/ \ {} __ __", BRIGHT_GREEN, NORMAL);
info!(r" {}/{}\__/ \__/{}\{} _______ ______ ____/ /__________ / /____", GREEN, BRIGHT_GREEN, GREEN, NORMAL);
info!(r" {}\{}/ \__/ \{}/{} / ___/ / / / __ \/ __ / / ___/ __ \/ __/ _ \", GREEN, BRIGHT_GREEN, GREEN, NORMAL);
info!(r" {} \__/ \__/ {} _\_ \/ /_/ / / / / /_/ / / /__/ /_/ / /_/ __/", BRIGHT_GREEN, NORMAL);
info!(r" {} \_{}\__/{}_/ {} /____/\__, /_/ /_/\____/_/\___/\__/_/\__/\___/", GREEN, BRIGHT_GREEN, GREEN, NORMAL);
info!(r" /____/");
info!(r"");
info!(r" {}version {}{}", BRIGHT_YELLOW, env!("CARGO_PKG_VERSION"), NORMAL);
info!(r"");
info!(r" documentation & reference material: https://syndicate-lang.org/");
info!(r" source code & bug tracker: https://git.leastfixedpoint.com/");
info!(r"");
}
for port in config.ports.clone() {
let spaces = Arc::clone(&spaces);
let config = Arc::clone(&config);