1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 06:12:16 +03:00

remove some key debug prints on macos

This commit is contained in:
Wez Furlong 2019-11-03 11:41:52 -08:00
parent 155a972425
commit 8d32bbf49e

View File

@ -825,7 +825,7 @@ impl WindowView {
fn key_common(this: &mut Object, nsevent: id, key_is_down: bool) {
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()) };
if modifiers.is_empty() && key_is_down {
@ -857,10 +857,13 @@ impl WindowView {
repeat_count: 1,
key_is_down,
};
/*
eprintln!(
"key_common {:?} (chars={:?} unmod={:?} modifiers={:?}",
event, chars, unmod, modifiers
);
*/
if let Some(myself) = Self::get_this(this) {
let mut inner = myself.inner.borrow_mut();