mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 22:01:47 +03:00
suppress warning
This commit is contained in:
parent
3f2e29b024
commit
b4b24aacca
@ -1006,7 +1006,7 @@ impl WindowView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn key_common(this: &mut Object, nsevent: id, key_is_down: bool) {
|
fn key_common(this: &mut Object, nsevent: id, key_is_down: bool) {
|
||||||
let is_a_repeat = unsafe { nsevent.isARepeat() == YES };
|
// let is_a_repeat = unsafe { nsevent.isARepeat() == YES };
|
||||||
let chars = unsafe { nsstring_to_str(nsevent.characters()) };
|
let chars = unsafe { nsstring_to_str(nsevent.characters()) };
|
||||||
let unmod = unsafe { nsstring_to_str(nsevent.charactersIgnoringModifiers()) };
|
let unmod = unsafe { nsstring_to_str(nsevent.charactersIgnoringModifiers()) };
|
||||||
let modifiers = unsafe { key_modifiers(nsevent.modifierFlags()) };
|
let modifiers = unsafe { key_modifiers(nsevent.modifierFlags()) };
|
||||||
|
Loading…
Reference in New Issue
Block a user