MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Print

Function Print

util/log/log.go:166–175  ·  view source on GitHub ↗

* Print prints the content prefixed and suffixed with a carriage return. This should be used if raw terminal is enabled, but it works without it aswell */

(v ...any)

Source from the content-addressed store, hash-verified

164This should be used if raw terminal is enabled, but it works without it aswell
165*/
166func Print(v ...any) (i int, err error) {
167 if i0, err := fmt.Print("\r"); err != nil {
168 return i0, err
169 } else {
170 i += i0
171 }
172
173 i0, err := fmt.Print(v...)
174 return i + i0, err
175}
176
177/*
178Printf prints the content formatted, and prefixed and suffixed with a carriage return.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected