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:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user