func github.com/evanw/esbuild/internal/logger.estimateWidthInTerminal
4 uses
github.com/evanw/esbuild/internal/logger (current package)
logger.go#L1081: indent := strings.Repeat(" ", estimateWidthInTerminal(textUpToLoc))
logger.go#L1159: indent = strings.Repeat(" ", estimateWidthInTerminal(lineText[:markerStart]))
logger.go#L1164: marker = strings.Repeat("~", estimateWidthInTerminal(lineText[markerStart:markerEnd]))
logger.go#L1189: func estimateWidthInTerminal(text string) int {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |