package term
Import Path
github.com/reeflective/readline/internal/term (on go.dev)
Dependency Relation
imports 3 packages, and imported by 6 packages
Package-Level Type Names (only one)
Package-Level Functions (total 11)
GetLength returns the length of the terminal
(Y length), or 80 if it cannot be established.
GetSize returns the dimensions of the given terminal.
GetState returns the current state of a terminal which may be useful to
restore the terminal after a signal.
GetWidth returns the width of Stdout or 80 if the width cannot be established.
IsTerminal returns true if the given file descriptor is a terminal.
MakeRaw put the terminal connected to the given file descriptor into raw
mode and returns the previous state of the terminal so that it can be
restored.
MoveCursorBackwards moves the cursor backward i columns.
MoveCursorDown moves the cursor down i lines.
MoveCursorForwards moves the cursor forward i columns.
MoveCursorUp moves the cursor up i lines.
Restore restores the terminal connected to the given file descriptor to a
previous state.
Package-Level Variables (total 4)
Some core keys needed by some stuff.
Some core keys needed by some stuff.
Some core keys needed by some stuff.
Some core keys needed by some stuff.
Package-Level Constants (total 12)
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
Terminal control sequences.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |