MCPcopy Create free account
hub / github.com/codehamr/codehamr / TestWrapForScrollbackExpandsTabs

Function TestWrapForScrollbackExpandsTabs

internal/tui/render_test.go:44–60  ·  view source on GitHub ↗

Terminals expand a literal tab to the next 8-column stop while ansi.Wrap counts it as one cell, so a tab-bearing line (glamour preserves tabs inside code fences) could pass the width check yet physically overflow. Tabs must be expanded before counting; none may survive into the output.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

wrapForScrollbackFunction · 0.85

Tested by

no test coverage detected