cl-repl: Run by default, break into menu

This commit is contained in:
John 2024-07-09 06:15:15 -05:00
parent d723f7cece
commit 3c4d31c473

View File

@ -15,6 +15,7 @@ pub fn banner() {
/// Presents a selection interface to the user /// Presents a selection interface to the user
pub fn main_menu(ctx: &mut ctx::Context) -> ReplResult<()> { pub fn main_menu(ctx: &mut ctx::Context) -> ReplResult<()> {
banner(); banner();
run(ctx)?;
read_and(ansi::GREEN, "mu>", " ?>", |line| { read_and(ansi::GREEN, "mu>", " ?>", |line| {
match line.trim() { match line.trim() {
"clear" => clear(), "clear" => clear(),