|
|
@ -1,6 +1,6 @@ |
|
|
|
use crate::builtins::BuiltinConfig;
|
|
|
|
use crate::prompt::Prompt;
|
|
|
|
use colored::*;
|
|
|
|
use colored::Colorize;
|
|
|
|
use execute::interpret;
|
|
|
|
use rustyline::config::Configurer;
|
|
|
|
use rustyline::error::ReadlineError;
|
|
|
@ -26,7 +26,7 @@ fn main() -> Result<()> { |
|
|
|
let mut prompt = Prompt::new();
|
|
|
|
let mut config = BuiltinConfig::new();
|
|
|
|
|
|
|
|
println!("Welcome, {}.", username().bright_green().bold());
|
|
|
|
println!("\nWelcome, {}.", username().bright_green().bold());
|
|
|
|
|
|
|
|
loop {
|
|
|
|
let readline = rl.readline(&prompt.get_prompt());
|
|
|
|