From e00e28cea84be05f587e0d58dbe443529ce8fbf1 Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Tue, 11 Nov 2025 09:21:56 -0700 Subject: [PATCH] fix #7 --- src/app/mode.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/mode.rs b/src/app/mode.rs index 311e097..ab35865 100644 --- a/src/app/mode.rs +++ b/src/app/mode.rs @@ -110,6 +110,12 @@ impl Mode { } Mode::Chord(chord) => { chord.add_char(key); + + if chord.buf[0] == ':' { + app.mode = Mode::Command(Chord::new(':')); + return; + } + match chord.as_string()[0..chord.as_string().len() - 1].parse::() { // For chords that can take a numeric input Ok(num) => match key {