Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Animate ¶
func Animate(app *tview.Application)
Animate triggers the application to redraw every 50ms
Types ¶
type GifView ¶
GifView is a box which displays animated gifs via Omnikron13's pixelview dynamic color rendering. It automatically draws the right frame based on time elapsed since creation. You can trigger re-drawing by executing Animate(tview.Application) in a goroutine.
func FromImagePath ¶
FromImagePath creates a new GifView from a file on disk
func (*GifView) GetCurrentFrame ¶
GetCurrentFrame returns the current frame the GIF is on
Click to show internal directories.
Click to hide internal directories.