keymap.rs

 1use crate::{AnyBox, Keystroke};
 2
 3#[derive(Default)]
 4pub struct KeyMatcher;
 5
 6impl KeyMatcher {
 7    pub fn push_keystroke(&mut self, keystroke: Keystroke) -> KeyMatch {
 8        todo!()
 9    }
10}
11
12pub enum KeyMatch {
13    None,
14    Pending,
15    Some(AnyBox),
16}