mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
lol tmux jumbles the input codes immensely
This commit is contained in:
parent
a66bc5ca5e
commit
228b4bb47c
8 changed files with 98 additions and 61 deletions
|
|
@ -21,7 +21,7 @@ impl KeyMatcher {
|
|||
let token = token.as_ref();
|
||||
if token.len() < 2 {
|
||||
Self { valid: false, key: None, mods: KeyModifiers::NONE }
|
||||
} else if token.chars().next() != Some(':') {
|
||||
} else if token.chars().next() != Some('@') {
|
||||
Self { valid: false, key: None, mods: KeyModifiers::NONE }
|
||||
} else {
|
||||
Self { valid: true, key: None, mods: KeyModifiers::NONE }.next(&token[1..])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue