Revert "Debug printfs."

This reverts commit 9f82de59a0.

Revert accidental push
This commit is contained in:
Corinna Vinschen
2016-03-20 21:59:43 +01:00
parent 66dc7d731a
commit bf0f4baf95
3 changed files with 2 additions and 21 deletions

View File

@@ -925,28 +925,18 @@ peek_console (select_record *me, bool)
if (irec.Event.KeyEvent.bKeyDown
&& (irec.Event.KeyEvent.uChar.AsciiChar
|| fhandler_console::get_nonascii_key (irec, tmpbuf)))
{
debug_printf("peeked KEY_EVENT");
return me->read_ready = true;
}
return me->read_ready = true;
}
else
{
if (irec.EventType == MOUSE_EVENT
&& fh->mouse_aware (irec.Event.MouseEvent))
{
debug_printf("peeked MOUSE_EVENT");
return me->read_ready = true;
}
if (irec.EventType == FOCUS_EVENT && fh->focus_aware ())
{
debug_printf("peeked FOCUS_EVENT");
return me->read_ready = true;
}
}
/* Read and discard the event */
debug_printf("discarded other event");
ReadConsoleInput (h, &irec, 1, &events_read);
}