Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
if
sys.platform ==
"win32"
:
15
import
msvcrt
16
def
get_keypress():
17
return
msvcrt.getch().decode(
"utf-8"
)
18
# Unix
19
else
:
20
import
termios, tty
Callers
1
print_response
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected