tui-explorer

command
v0.38.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL