package
Version:
v0.0.0-...-e70f703
Opens a new window with list of versions in this module.
Published: Apr 19, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Accessor implement the Terminal interface and
fetch the terminal basic information
CharWidth get the terminal char width
IsWindows check if current system is windows
ScreenSize get the terminal screen size
type Terminal interface {
CharWidth() float64
ScreenSize() (width, height int, err error)
IsWindows() bool
}
Terminal get the terminal basic information
NewTerminalAccessor create a new terminal accessor
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.