MCPcopy Index your code
hub / github.com/pterm/pterm / getSuffix

Method getSuffix

interactive_continue_printer.go:191–197  ·  view source on GitHub ↗

getSuffix returns the continuation prompt suffix

()

Source from the content-addressed store, hash-verified

189
190// getSuffix returns the continuation prompt suffix
191func (p *InteractiveContinuePrinter) getSuffix() string {
192 if p.Handles == nil || len(p.Handles) != len(p.Options) {
193 p.setDefaultHandles()
194 }
195
196 return p.SuffixStyle.Sprintf("[%s]", strings.Join(p.Handles, "/"))
197}

Callers 1

ShowMethod · 0.95

Calls 2

setDefaultHandlesMethod · 0.95
SprintfMethod · 0.65

Tested by

no test coverage detected