Searched refs:input_record (Results 1 – 1 of 1) sorted by relevance
1525 static bool _get_key_event_record(const HANDLE console, INPUT_RECORD* const input_record) { in _get_key_event_record() argument1528 memset(input_record, 0, sizeof(*input_record)); in _get_key_event_record()1529 if (!ReadConsoleInputA(console, input_record, 1, &read_count)) { in _get_key_event_record()1551 if (input_record->EventType == WINDOW_BUFFER_SIZE_EVENT) { in _get_key_event_record()1556 if ((input_record->EventType == KEY_EVENT) && in _get_key_event_record()1557 (input_record->Event.KeyEvent.bKeyDown)) { in _get_key_event_record()1558 if (input_record->Event.KeyEvent.wRepeatCount == 0) { in _get_key_event_record()1934 INPUT_RECORD input_record; in _console_read() local1935 if (!_get_key_event_record(console, &input_record)) { in _console_read()1939 KEY_EVENT_RECORD* const key_event = &input_record.Event.KeyEvent; in _console_read()