cl-repl: Run by default, break into menu
This commit is contained in:
parent
d723f7cece
commit
3c4d31c473
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user