Documentation
¶
Index ¶
- Variables
- func HandleResize(ptmx *os.File)
- type OutputMode
- type Term
- func (t *Term) Clear() error
- func (t *Term) Cls() int
- func (t *Term) EnterScreen() int
- func (t *Term) ExitScreen() int
- func (t *Term) GetField() string
- func (t *Term) GetOutputDisplay() string
- func (t *Term) GetPassword() string
- func (t *Term) Input(s string)
- func (t *Term) MoveCursor(x, y int) int
- func (t *Term) Print(lin, col int, s string) error
- func (t *Term) ResetScreen() int
- func (t *Term) SetEcho(b bool)
- func (t *Term) SetInputLimit(limit int)
- func (t *Term) SetOutputDelay(delay int)
- func (t *Term) SetOutputMode(mode string)
- func (t *Term) Write(s string) int
- func (t *Term) WriteByte(b byte)
- func (t *Term) WriteFromASCII(fileName string) int
- func (t *Term) WriteRune(r rune)
- func (t *Term) WriteString(s string)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func HandleResize ¶ added in v0.1.12
Types ¶
type Term ¶
type Term struct { W int H int MaxInputLength int C io.Writer InputField []rune InputTrigger chan struct{} OutputMode OutputMode OutputDelay time.Duration // contains filtered or unexported fields }
func (*Term) EnterScreen ¶
func (*Term) ExitScreen ¶
func (*Term) GetOutputDisplay ¶
func (*Term) GetPassword ¶
func (*Term) MoveCursor ¶
func (*Term) SetInputLimit ¶
func (*Term) SetOutputDelay ¶
func (*Term) SetOutputMode ¶
func (*Term) WriteFromASCII ¶
func (*Term) WriteString ¶
Click to show internal directories.
Click to hide internal directories.