Improve logic for reused bindings, add docs.
This commit is contained in:
parent
6c4d024237
commit
0903d29ab3
3 changed files with 100 additions and 26 deletions
|
@ -94,7 +94,7 @@ impl KeystrokeMatcher {
|
|||
/// - KeyMatch::None => No match is valid for this key given any pending keystrokes.
|
||||
/// - KeyMatch::Pending => There exist bindings that is still waiting for more keys.
|
||||
/// - KeyMatch::Some(matches) => One or more bindings have received the necessary key presses.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, PartialEq)]
|
||||
pub enum KeyMatch {
|
||||
None,
|
||||
Pending,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue