MCPcopy Create free account
hub / github.com/ICE27182/Python-3D-renderer / keyinput

Function keyinput

v1.0/main.py:446–455  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

444
445
446def keyinput() -> None:
447 global key, pause
448 from msvcrt import getwch
449 while True:
450 key = getwch()
451 if key == " ":
452 pause = not pause
453 key = None
454 elif key == "Q":
455 break
456
457
458

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected