Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
43
def
_terminal_width() -> int:
44
try
:
45
return
os.get_terminal_size().columns
46
except
Exception:
47
return
80
48
49
50
def
_header(label: str, width: int) -> str:
Callers
5
run_peer
Function · 0.85
run_prompted
Function · 0.85
run_positional
Function · 0.85
run_direct
Function · 0.85
_run_basic_fallback
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected