MCPcopy
hub / github.com/pterm/pterm / fClearLine

Function fClearLine

print.go:193–199  ·  view source on GitHub ↗
(writer io.Writer)

Source from the content-addressed store, hash-verified

191}
192
193func fClearLine(writer io.Writer) {
194 if RawOutput || writer == nil || !Output {
195 return
196 }
197
198 Fprinto(writer, strings.Repeat(" ", GetTerminalWidth()))
199}
200
201func sClearLine() string {
202 if RawOutput || !Output {

Callers 6

StopMethod · 0.85
InfoMethod · 0.85
SuccessMethod · 0.85
FailMethod · 0.85
WarningMethod · 0.85
StopMethod · 0.85

Calls 2

FprintoFunction · 0.85
GetTerminalWidthFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…