MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / is_tty

Function is_tty

unity_cli/hub/interactive.py:12–14  ·  view source on GitHub ↗

Check if running in an interactive TTY.

()

Source from the content-addressed store, hash-verified

10
11
12def is_tty() -> bool:
13 """Check if running in an interactive TTY."""
14 return sys.stdin.isatty() and sys.stdout.isatty()
15
16
17def _has_inquirerpy() -> bool:

Callers 3

resolve_editorMethod · 0.90
prompt_editor_selectionFunction · 0.85
prompt_confirmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected