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

Function stripANSI

internal/tui/tui_test.go:2435–2450  ·  view source on GitHub ↗

stripANSI removes CSI escape sequences (`\x1b[…m`) so tests can match the visible text through glamour's per-word styling, which splits "foo bar" into ` foo bar ` and breaks a naive Contains("foo bar").

(s string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 1

StringMethod · 0.80

Tested by

no test coverage detected