cl-repl: Flatten menu structure so new friendo won't have to ^C^C

Plus it was more annoying than this is.
This commit is contained in:
2025-10-23 06:06:56 -04:00
parent 06ed0eae54
commit 8d641d0060
4 changed files with 102 additions and 74 deletions

View File

@@ -49,10 +49,9 @@ pub fn is_terminal() -> bool {
/// The CLI's operating mode
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord)]
pub enum Mode {
#[default]
Menu,
Lex,
Fmt,
#[default]
Run,
}