terminal

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsColor

func IsColor(f *os.File) bool

IsColor check if term is support color

Types

type WindowSize

type WindowSize struct {
	Row    uint16
	Col    uint16
	Xpixel uint16
	Ypixel uint16
}

WindowSize struct

func GetWindowSize

func GetWindowSize(f *os.File) (*WindowSize, error)

GetWindowSize from term

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL