Documentation ¶
Index ¶
- Variables
- type Buffer
- type CellReader
- type Screen
- func (s *Screen) AppendCell(pos state.Pos, r rune) error
- func (s *Screen) BeginTx() state.ModifyTx
- func (s *Screen) ClearRect(r state.Rect) error
- func (s *Screen) GetCell(row, col int) *ScreenCell
- func (s *Screen) MoveCursor(pos state.Pos) error
- func (s *Screen) Output(data []byte) error
- func (s *Screen) Resize(rows, cols int, lines []state.LineInfo) error
- func (s *Screen) RowString(row int) string
- func (s *Screen) ScrollRect(r state.ScrollRect) error
- func (s *Screen) SetCell(pos state.Pos, val state.CellRune) error
- func (s *Screen) SetPenProp(prop state.PenAttr, val interface{}, ps state.PenState) error
- func (s *Screen) SetTermProp(prop state.TermAttr, val interface{}) error
- func (s *Screen) StringEvent(kind string, data []byte) error
- func (s *Screen) WriteToFile(path string) error
- type ScreenCell
- type ScreenPen
- type ScrollBack
- type Tx
- type Updates
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOutOfBounds = errors.New("position of out bounds")
Functions ¶
This section is empty.
Types ¶
type CellReader ¶
type CellReader interface {
GetCell(row, col int) *ScreenCell
}
type Screen ¶
type Screen struct {
// contains filtered or unexported fields
}
func (*Screen) GetCell ¶
func (s *Screen) GetCell(row, col int) *ScreenCell
func (*Screen) ScrollRect ¶
func (s *Screen) ScrollRect(r state.ScrollRect) error
func (*Screen) SetPenProp ¶
func (*Screen) SetTermProp ¶
func (*Screen) WriteToFile ¶
type ScreenCell ¶
type ScreenCell struct {
// contains filtered or unexported fields
}
func (*ScreenCell) Pen ¶
func (s *ScreenCell) Pen() *ScreenPen
func (*ScreenCell) Value ¶
func (s *ScreenCell) Value() (rune, []rune)
type ScrollBack ¶
Click to show internal directories.
Click to hide internal directories.