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

Method has_input_events

pager/pagerctl.py:551–557  ·  view source on GitHub ↗

Check if there are pending input events in the queue. Returns: bool: True if events are waiting, False otherwise.

(self)

Source from the content-addressed store, hash-verified

549 return None
550
551 def has_input_events(self):
552 """Check if there are pending input events in the queue.
553
554 Returns:
555 bool: True if events are waiting, False otherwise.
556 """
557 return bool(_lib.pager_has_input_events())
558
559 def peek_buttons(self):
560 """Get current button state without consuming events.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected