mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
merge same lines
This commit is contained in:
parent
b9e9acc6d8
commit
d1d84a2b96
1 changed files with 1 additions and 2 deletions
|
|
@ -44,8 +44,7 @@ impl From<KeyEvent> for Key {
|
||||||
// for consistent behavior between OSs.
|
// for consistent behavior between OSs.
|
||||||
|
|
||||||
let shift = match (value.code, value.modifiers) {
|
let shift = match (value.code, value.modifiers) {
|
||||||
(KeyCode::Char(c), _) if c.is_ascii_uppercase() => true,
|
(KeyCode::Char(c), _) => c.is_ascii_uppercase(),
|
||||||
(KeyCode::Char(_), m) if m.contains(KeyModifiers::SHIFT) => false,
|
|
||||||
(_, m) => m.contains(KeyModifiers::SHIFT),
|
(_, m) => m.contains(KeyModifiers::SHIFT),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue