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

Function _kv_value_width

knockpy/output.py:63–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def _kv_value_width() -> int:
64 # Keep a fixed start point for Value across all 2-column tables.
65 # Table border/spacing overhead is intentionally conservative.
66 return max(24, _table_width() - KV_FIELD_WIDTH - 8)
67
68
69def _add_kv_columns(table: Table) -> None:

Callers 1

_add_kv_columnsFunction · 0.85

Calls 1

_table_widthFunction · 0.85

Tested by

no test coverage detected