MCPcopy Index your code
hub / github.com/coder/coder / Wrap

Function Wrap

cli/cliui/cliui.go:103–105  ·  view source on GitHub ↗

Wrap prevents the text from overflowing the terminal.

(s string)

Source from the content-addressed store, hash-verified

101
102// Wrap prevents the text from overflowing the terminal.
103func Wrap(s string) string {
104 return pretty.Sprint(DefaultStyles.Wrap, s)
105}
106
107// Code formats code for display.
108func Code(s string) string {

Callers 2

templatePushMethod · 0.92
support.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected