MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / clear_input_events

Method clear_input_events

pager/pagerctl_mock.py:439–443  ·  view source on GitHub ↗

Clear all pending input events.

(self)

Source from the content-addressed store, hash-verified

437 return self._held_buttons
438
439 def clear_input_events(self):
440 """Clear all pending input events."""
441 self._pump_events()
442 with self._event_lock:
443 self._event_queue.clear()
444
445 # ------------------------------------------------------------------
446 # Brightness (stored but visual is no-op)

Callers

nothing calls this directly

Calls 2

_pump_eventsMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected