MCPcopy Create free account
hub / github.com/gokcehan/lf / printf

Method printf

ui.go:117–119  ·  view source on GitHub ↗
(screen tcell.Screen, x, y int, st tcell.Style, format string, a ...any)

Source from the content-addressed store, hash-verified

115}
116
117func (win *win) printf(screen tcell.Screen, x, y int, st tcell.Style, format string, a ...any) {
118 win.print(screen, x, y, st, fmt.Sprintf(format, a...))
119}
120
121func (win *win) printLine(screen tcell.Screen, x, y int, st tcell.Style, s string) {
122 win.printf(screen, x, y, st, "%s%*s", s, win.w-printLength(s), "")

Callers 1

printLineMethod · 0.95

Calls 1

printMethod · 0.95

Tested by

no test coverage detected