From b1d7bbfaad1fd75f31d82f75192deb316f030a66 Mon Sep 17 00:00:00 2001 From: _tthemzdl5678 <107047730+ThemeHackers@users.noreply.github.com> Date: Fri, 6 Jun 2025 14:30:21 +0700 Subject: [PATCH] Update main.rs When I run the code, there is a problem with the welcome command running and reporting an error even though the command has not been used, so I fixed the error at this point. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c367a07..cdd0c40 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,7 +45,7 @@ async fn monitor(cmd_port: Option, auto: bool, no_welcome: bool, out: &o out.connected(&inner_tty_path); if !no_welcome { - if let Err(_) = port.write("welcome\r\n".as_bytes()).await { + if let Err(_) = port.write("".as_bytes()).await { out.print("Couldn't send welcome command!"); } }