1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +03:00

suppress warning

This commit is contained in:
Wez Furlong 2019-12-30 11:11:41 -08:00
parent 3f2e29b024
commit b4b24aacca

View File

@ -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()) };