Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasTransmitted ¶
HasTransmitted checks if the image with the given ID has already been transmitted to the terminal.
func ResetCache ¶
func ResetCache()
ResetCache clears the image cache, freeing all cached decoded images.
Types ¶
type CellSize ¶
type CellSize struct {
Width, Height int
}
CellSize represents the size of a single terminal cell in pixels.
type Encoding ¶
type Encoding byte
Encoding represents the encoding format of the image.
type TransmittedMsg ¶
type TransmittedMsg struct {
ID string
}
TransmittedMsg is a message indicating that an image has been transmitted to the terminal.
Click to show internal directories.
Click to hide internal directories.