internal

package
v0.0.0-...-da8d92d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2021 License: MIT Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL