Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDirectionalControls = map[string]string{ keyboard.UpArrowKey: "UP", keyboard.DownArrowKey: "DOWN", keyboard.LeftArrowKey: "LEFT", keyboard.RightArrowKey: "RIGHT", }
Functions ¶
This section is empty.
Types ¶
type Cell ¶
type Cell struct {
Value any
Child Renderable
Selected bool
}
func (*Cell) RenderLines ¶
type Cursor ¶
type Cursor struct {
Row int
Col int
Controls map[string]string
// contains filtered or unexported fields
}
type Grid ¶
func (*Grid) RenderLines ¶
type GridStyle ¶
type GridStyle struct {
VerticalDivider string
HorizontalDivider string
Intersection string
NoValue string
}
func WithGridSymbols ¶
func WithGridSymbols() *GridStyle
type Renderable ¶
type Renderable interface {
RenderLines() []string
}
Click to show internal directories.
Click to hide internal directories.