Documentation
¶
Index ¶
- Variables
- type Cursor
- type Terminal
- func (t *Terminal) ClearLine()
- func (t *Terminal) ClearScreen()
- func (t *Terminal) Cursor() Cursor
- func (t *Terminal) EscapePrint(a ...any)
- func (t *Terminal) EscapePrintf(format string, a ...any)
- func (t *Terminal) EscapePrintln(a ...any)
- func (t *Terminal) Print(a ...any) (int, error)
- func (t *Terminal) Printf(format string, a ...any) (int, error)
- func (t *Terminal) Println(a ...any) (int, error)
- func (t *Terminal) ReadPassword(prompt string) (line string, err error)
- func (t *Terminal) Restore() error
- func (t *Terminal) Write(b []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotTerminal = errors.New("not a terminal")
)
Functions ¶
This section is empty.
Types ¶
type Cursor ¶
type Cursor struct {
// contains filtered or unexported fields
}
func (Cursor) GotoColumn ¶
type Terminal ¶
type Terminal struct {
// contains filtered or unexported fields
}
func (*Terminal) ClearScreen ¶
func (t *Terminal) ClearScreen()
func (*Terminal) EscapePrint ¶
func (*Terminal) EscapePrintf ¶
func (*Terminal) EscapePrintln ¶
func (*Terminal) ReadPassword ¶
Click to show internal directories.
Click to hide internal directories.