Skip to content

Commit

Permalink
Remove the extra, yellow startup message
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhang committed Jul 1, 2023
1 parent 07a59fc commit 49b2244
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/sshx/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use ansi_term::Color::{Cyan, Fixed, Green, Yellow};
use ansi_term::Color::{Cyan, Fixed, Green};
use anyhow::Result;
use clap::Parser;
use sshx::{controller::Controller, runner::Runner, terminal::get_default_shell};
Expand Down Expand Up @@ -29,15 +29,12 @@ fn print_greeting(shell: &str, controller: &Controller) {
{arr} Link: {link_v}
{arr} Shell: {shell_v}
{online_msg}
"#,
sshx = Green.bold().paint("sshx"),
version = Green.paint(&version_str),
arr = Green.paint("➜"),
link_v = Cyan.underline().paint(controller.url()),
shell_v = Fixed(8).paint(shell),
online_msg = Yellow.paint("Your terminal session is online!"),
);
}

Expand Down

0 comments on commit 49b2244

Please sign in to comment.