MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / _terminal_width

Function _terminal_width

core/peer_shell.py:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42
43def _terminal_width() -> int:
44 try:
45 return os.get_terminal_size().columns
46 except Exception:
47 return 80
48
49
50def _header(label: str, width: int) -> str:

Callers 5

run_peerFunction · 0.85
run_promptedFunction · 0.85
run_positionalFunction · 0.85
run_directFunction · 0.85
_run_basic_fallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected