Documentation ¶
Index ¶
- Variables
- func CleanUp() error
- func Draw(img image.Image, bounds image.Rectangle) error
- func DrawBytes(imgBytes []byte, bounds image.Rectangle) error
- func DrawFile(imgFile string, bounds image.Rectangle) error
- func NewImage(img image.Image) *term.Image
- func NewImageBytes(imgBytes []byte) *term.Image
- func NewImageFileName(imgfile string) *term.Image
- func Query(qs string, p term.Parser) (string, error)
- func Terminal() (*term.Terminal, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultConfig = term.Options{ term.SetPTYName(ttyDefault), term.SetTTYProvider(ttyProvider, false), term.SetQuerier(querier, true), term.SetWindowProvider(wm.SetImpl(wmImplementation), true), term.SetResizer(resizer), } )
Functions ¶
func DrawBytes ¶
DrawBytes - for use with "embed", etc. requires the prior registration of a decoder. e.g.:
import _ "image/png"
func NewImageBytes ¶
NewImageBytes - for use with "embed", etc. requires the prior registration of a decoder. e.g.:
import _ "image/png"
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
drawers
|
|
query
|
|
resize
|
|
caire
Seam Carving for Content-Aware Image Resizing
|
Seam Carving for Content-Aware Image Resizing |
gotty
Package gotty provides an implementation of term.TTY via github.com/mattn/go-tty.
|
Package gotty provides an implementation of term.TTY via github.com/mattn/go-tty. |
tui
|
|
video
|
|
framebuffer
Package framebuffer is an interface to linux framebuffer device.
|
Package framebuffer is an interface to linux framebuffer device. |
wmimpl
actual implementation (for X11, Windows)
|
actual implementation (for X11, Windows) |
Click to show internal directories.
Click to hide internal directories.