From 3c4d31c47332a3a6603687202d5da290fa2e03c3 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 9 Jul 2024 06:15:15 -0500 Subject: [PATCH] cl-repl: Run by default, break into menu --- compiler/cl-repl/src/menu.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/cl-repl/src/menu.rs b/compiler/cl-repl/src/menu.rs index e6e7779..ba5f993 100644 --- a/compiler/cl-repl/src/menu.rs +++ b/compiler/cl-repl/src/menu.rs @@ -15,6 +15,7 @@ pub fn banner() { /// Presents a selection interface to the user pub fn main_menu(ctx: &mut ctx::Context) -> ReplResult<()> { banner(); + run(ctx)?; read_and(ansi::GREEN, "mu>", " ?>", |line| { match line.trim() { "clear" => clear(),