internal/ui.go
func (p *Palette) StackLines(signature *stack.Signature, srcLen, pkgLen int, fullPath bool) string {
	out := make([]string, len(signature.Stack.Calls))
	for i := range signature.Stack.Calls {
		out[i] = p.callLine(&signature.Stack.Calls[i], srcLen, pkgLen, fullPath)
	}
	if signature.Stack.Elided {
		out = append(out, "    (...)")
	}
	return strings.Join(out, "\n") + "\n"
}
func (p *Palette) StackLines(signature *stack.Signature, srcLen, pkgLen int, fullPath bool) string {
	out := make([]string, len(signature.Stack.Calls))
	for i := range signature.Stack.Calls {
		out[i] = p.callLine(&signature.Stack.Calls[i], srcLen, pkgLen, fullPath)
	}
	if signature.Stack.Elided {
		out = append(out, "    (...)")
	}
	return strings.Join(out, "\n") + "\n"
}
func ( p * Palette ) StackLines ( signature * stack . Signature , srcLen , pkgLen int , fullPath bool ) string { out := make ( [ ] string , len ( signature . Stack . Calls ) ) for i := range signature . Stack . Calls { out [ i ] = p . callLine ( & signature . Stack . Calls [ i ] , srcLen , pkgLen , fullPath ) } if signature . Stack . Elided { out = append ( out , " " ) } return strings . Join ( out , " \n " ) + " \n " }
// StackLines prints one complete stack trace, without the header.
StackLines prints one complete stack trace without the header .