Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSize ¶
GetSize returns the visible dimensions of the given terminal.
These dimensions don't include any scrollback buffer height.
func IsTerminal ¶
IsTerminal returns whether the given file descriptor is a terminal.
Types ¶
type Terminal ¶
type Terminal struct {
// contains filtered or unexported fields
}
func NewTerminal ¶
func (*Terminal) IsTerminal ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ctl provides low-level ANSI escape sequences for terminal control.
|
Package ctl provides low-level ANSI escape sequences for terminal control. |
|
this is for key event, i don't want to you know, hard code this and maybe i guess my implementation is stupid i mean yeah i do this stuff for learning though.
|
this is for key event, i don't want to you know, hard code this and maybe i guess my implementation is stupid i mean yeah i do this stuff for learning though. |
Click to show internal directories.
Click to hide internal directories.