Documentation
¶
Overview ¶
tui-explorer is the reference interactive demo for tui.App: a small k9s-style file-browser mockup composed entirely from the exported cell-native widgets in the tui package. The layout is
+-----------------------------------------------------+ | MenuBar: File / View / Help | +----------------------+------------------------------+ | ListBox | TextEditor (read-only) | | (flat file list) | (syntax-highlighted preview) | | | | +----------------------+------------------------------+ | Statusbar: q: quit ?: help /: search ... | +-----------------------------------------------------+
The chrome — MenuBar, anchored MenuDropdowns, the HSplit sidebar, the help/search Popovers, and the header/body/footer VBox — are all tui.* library widgets; the demo owns only the wiring (which file maps to which preview) and the key bindings.
Keys wired into App.Keys:
q, Ctrl+C → Quit ? → toggle help popover / → toggle search popover Enter → sync selected list row into the preview
Click to show internal directories.
Click to hide internal directories.