package
0.0.0-20201028204652-de190fe47b8b
Repository: https://github.com/martinohmann/neat.git
Documentation: pkg.go.dev
# Functions
Fprint formats using the default formats for its operands and writes to w.
Fprintf formats according to a format specifier and writes to w.
Fprintln formats using the default formats for its operands and writes to w.
NewPrinter returns a new *Printer which writes to w.
Print formats using the default formats for its operands and writes to standard output.
Printf formats according to a format specifier and writes to standard output.
Println formats using the default formats for its operands and writes to standard output.
Sprint formats using the default formats for its operands and returns the resulting string.
Sprintf formats according to a format specifier and returns the resulting string.
Sprintln formats using the default formats for its operands and returns the resulting string.
TerminalHeight returns the terminal height of given FileWriter.
TerminalSize returns the terminal width and height of given FileWriter.
TerminalWidth returns the terminal width of given FileWriter.
# Interfaces
FileWriter is an io.Writer which also provides access to the file descriptor.
Renderable is an object that can be rendered to a console.