Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/click
/ term_len
Function
term_len
src/click/_compat.py:572–573 · src/click/_compat.py::term_len
(x: str)
Source
from the content-addressed store, hash-verified
570
571
572
def
term_len(x: str) -> int:
573
return
len(strip_ansi(x))
574
575
576
def
isatty(stream: t.IO[t.Any]) -> bool:
Callers
6
render_progress
Method · 0.85
measure_table
Function · 0.85
wrap_text
Function · 0.85
write_usage
Method · 0.85
write_dl
Method · 0.85
_wrap_chunks
Method · 0.85
Calls
1
strip_ansi
Function · 0.85
Tested by
no test coverage detected