fix again

This commit is contained in:
sxyazi 2023-09-20 23:51:46 +08:00
parent 437ecc682f
commit b9e9acc6d8
No known key found for this signature in database

View file

@ -40,7 +40,7 @@ impl From<KeyEvent> for Key {
// Unix : <S-`> => Char("~") + NULL
// Windows : <S-`> => Char("~") + SHIFT
//
// So we detect `Char("`") + Shift`, and change it to `Char("~") + NULL`
// So we detect `Char("~") + SHIFT`, and change it to `Char("~") + NULL`
// for consistent behavior between OSs.
let shift = match (value.code, value.modifiers) {