MCPcopy
hub / github.com/guelfoweb/knockpy / _table_width

Function _table_width

knockpy/output.py:37–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36
37def _table_width() -> int:
38 try:
39 return max(80, int(console.size.width) - 2)
40 except Exception:
41 return 100
42
43
44def _new_table(

Callers 3

_new_tableFunction · 0.85
_kv_value_widthFunction · 0.85
_add_3col_columnsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected