Documentation
¶
Index ¶
- Constants
- type CursorState
- type Pane
- func (p *Pane) BackSpace()
- func (p *Pane) Cells() [][]termbox.Cell
- func (p *Pane) Clear()
- func (p *Pane) Close() error
- func (p *Pane) Cursor() (int, int)
- func (p *Pane) HandleKey(key byte)
- func (p *Pane) Height() int
- func (p *Pane) NewLine()
- func (p *Pane) Redraw()
- func (p *Pane) Scroll(far int)
- func (p *Pane) SetGraphicMode(vals []int)
- func (p *Pane) Start() error
- func (p *Pane) Width() int
- type Screen
- func (s *Screen) AppendRows(n int)
- func (s *Screen) Cell(index, row int) *termbox.Cell
- func (s *Screen) Cells() [][]termbox.Cell
- func (s *Screen) DeleteRows(start, count int)
- func (s *Screen) Row(index int) *[]termbox.Cell
- func (s *Screen) Scroll(offset int)
- func (s *Screen) SetScrollOffset(offset int)
Constants ¶
View Source
const ( NEW_LINE = 0xA TERMINAL_BELL = 0x7 BACKSPACE = 0x8 CARRIAGE_RETURN = 0xD )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CursorState ¶
type CursorState struct {
// contains filtered or unexported fields
}
type Pane ¶
type Pane struct { *exec.Cmd Prog string Args []string Pty *os.File ShouldRedraw chan struct{} // contains filtered or unexported fields }
func (*Pane) SetGraphicMode ¶
type Screen ¶
type Screen struct {
// contains filtered or unexported fields
}
func (*Screen) AppendRows ¶
func (*Screen) DeleteRows ¶
func (*Screen) Scroll ¶
Scroll the screen offset number of lines Negative numbers scroll up Positive numbers scroll down
func (*Screen) SetScrollOffset ¶
Click to show internal directories.
Click to hide internal directories.