Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Color8 is config to use 8 color. Color8 = Color(0) // Color256 is config to use 256 color. Color256 = Color(1) )
View Source
const (
// UnsupportedError is used when a given file is not supported.
UnsupportedError = previewError("not supported file type.")
)
View Source
const WindowSizeError = previewError("failed to load window size")
WindowSizeError is used when WindowSize() failed.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WindowSize ¶
WindowSize represents window size.
func GetWindowSize ¶
func GetWindowSize() (*WindowSize, error)
GetWindowSize get WindowSize by system call.
Click to show internal directories.
Click to hide internal directories.