Simple builder of TUI from bash commands, some simple widgets from tview
, tcell
and channel concept from bubbletea
.
Roadmap:
- Basic app shell
- Working example
- Code generation / framework
To contain geometry information and ref to object.
type GridItem struct {
P *tview.Primitive
Row, Column int
RowSpan, ColumnSpan int
minGridHeight, minGridWidth int
focus bool
}
To maintain refs to all relevant objects and state of application.
// Container grid
type GridLayout struct {
G *tview.Grid
Items map[string]GridItem
focus bool
}