MCPcopy
hub / github.com/pterm/pterm / Fprintln

Function Fprintln

print.go:151–153  ·  view source on GitHub ↗

Fprintln formats using the default formats for its operands and writes to w. Spaces are always added between operands and a newline is appended. It returns the number of bytes written and any write error encountered.

(writer io.Writer, a ...any)

Source from the content-addressed store, hash-verified

149// Spaces are always added between operands and a newline is appended.
150// It returns the number of bytes written and any write error encountered.
151func Fprintln(writer io.Writer, a ...any) {
152 Fprint(writer, Sprint(a...)+"\n")
153}
154
155// Printo overrides the current line in a terminal.
156// If the current line is empty, the text will be printed like with pterm.Print.

Callers 13

TestFprintlnFunction · 0.92
UpdateTextMethod · 0.85
StopMethod · 0.85
RenderMethod · 0.85
RenderMethod · 0.85
StartMethod · 0.85
StopMethod · 0.85
RenderMethod · 0.85
RenderMethod · 0.85
printMethod · 0.85
RenderMethod · 0.85
RenderMethod · 0.85

Calls 2

FprintFunction · 0.85
SprintFunction · 0.85

Tested by 1

TestFprintlnFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…