Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PlayGif ¶
func PlayGif(animation *gif.GIF, terminal TerminalDimensions)
PlayGif plays the GIF by mapping pixels to ASCII
Types ¶
type TerminalDimensions ¶
type TerminalDimensions struct {
// contains filtered or unexported fields
}
TerminalDimensions represents the terminal dimensions
func ReadTerminalDimensions ¶
func ReadTerminalDimensions() (TerminalDimensions, error)
ReadTerminalDimensions detects and returns the terminal dimensions
Click to show internal directories.
Click to hide internal directories.