Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CursorFunc ¶
type CursorFunc func(lineno, col int)
type RenderFunc ¶
type RenderLine ¶
type RenderLine struct { Content []rune LineLogical, LineBuffer int // contains filtered or unexported fields }
func (*RenderLine) GetStyle ¶
func (rl *RenderLine) GetStyle(col int) tcell.Style
type Rendering ¶
type Rendering struct {
// contains filtered or unexported fields
}
Rendering essentially represents a double buffer in the graphics programming sense.
func (*Rendering) Line ¶
func (r *Rendering) Line() *RenderLine
type Viewport ¶
type Viewport struct {
// contains filtered or unexported fields
}
func (*Viewport) Render ¶
func (v *Viewport) Render( w, h, cursorlineno, cursorcol int, hilite highlighting.Highlighting) *Rendering
func (*Viewport) SetTeleported ¶
Click to show internal directories.
Click to hide internal directories.