MCPcopy Create free account
hub / github.com/codingmoh/open-codex / get_keypress

Function get_keypress

src/open_codex/main.py:16–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14if sys.platform == "win32":
15 import msvcrt
16 def get_keypress():
17 return msvcrt.getch().decode("utf-8")
18# Unix
19else:
20 import termios, tty

Callers 1

print_responseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected