Skip to content

Commit b967266

Browse files
fix error
1 parent f7d60b7 commit b967266

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

command/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dirs = "5.0"
2626
rpassword = "7.3.0"
2727
libc = "0.2.153"
2828
base64 = "0.22.0"
29-
rustyline = "8.1.0"
29+
rustyline = "8.0.0"
3030
async-std = { version = "1.10", features = ["attributes"] }
3131

3232

command/bin/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ use command::run::init_shell;
1212
use command::start_logo::start_logo;
1313
use command::root::new_session;
1414

15-
#[tokio::main]
16-
async fn main() {
15+
fn main() {
1716
start_logo();
1817

1918
// new user

command/src/run.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,5 @@ fn print_prompt(session_context: &mut SessionContext) -> String{
162162
}
163163
let pwd = pwd().unwrap().1;
164164
let input = format!("\x1B[32;1m{}\x1B[0m:\x1B[34m{}>>\x1B[0m ",whoami,pwd); // Assuming whoami() returns the current user
165-
print!("{}",input);
166165
input
167166
}

0 commit comments

Comments
 (0)