Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CellGrid ¶
type CellGrid struct { // Border is a border printer. Border border.Border // Colorpicker is an algorithm to pickup colors. Colorpicker color.Picker // Row of cell grid, the terminal height by default if the image is portrait. Row uint16 // Col of cell grid, the terminal width by default if the image is landscape. Col uint16 // Placeholder is a text printed in the cell, " " by default, // ignored in debug mode because color number will be printed instead. Placeholder string // Debug given, print available color tables // and print calculated color number inside the cell. // Debug is exclusive property, any other properties might be ignored. Debug bool }
CellGrid ...
type ITerm ¶
type ITerm struct { // Scale size Scale float64 }
ITerm renderer to support image printing on iTerm. See https://www.iterm2.com/documentation-images.html
type Renderer ¶
Renderer interface.
func GetDefaultRenderer ¶
func GetDefaultRenderer() Renderer
GetDefaultRenderer provides an applicable renderer for current platform.
Click to show internal directories.
Click to hide internal directories.