Create dashboards that communicate by text.
┌────────────────────────┐
│ │ ┌─────────────────────────────────────────────────────┐
│ navbar │ │ name │
│ │ │ │
└────────────────────────┘ │ cmd: │
┌───────────┐┌───────────┐ │ │
│ ││ │ │ args: │
│ list ││ preview │ └─────────────────────────────────────────────────────┘
│ ││ │
│ ││ │
│ ││ │
│ ││ │
│ ││ │
│ ││ │
│ ││ │
└───────────┘└───────────┘
Inspired by lazygit, fzf.
Necessary background:
tview
- focus handling
- primitive
- box
- grid
- form
- draw
- box
- grid
- form
- focus handling
- ANSI writer
context
package
Navbar as separate component Using tview: just use tcell instead, use our own event loop App as separate component: it is just clutter for now, but maybe later pages may be useful
- Show files
- filename -
show_files.json
- source -
find [., -type, f]
- preview -
bat $item
- bindings
Enter
Space
?