TUI
TUI Layout
Two panels plus a status bar, with overlays for the editor and detail views.
Regions
┌───────────────┬───────────────────────────────┐
│ Schema tree │ Data grid │
│ (left 30%) │ (right 70%) │
│ │ │
├───────────────┴───────────────────────────────┤
│ Status bar (1 line) │
└───────────────────────────────────────────────┘Editor / row detail / command bar / search bar render as overlays on top of the main panels (not their own region).
Schema tree (left)
Shows tables and views in a flat list grouped by type.
j/kto navigateEnter/l/Rightto expand or load a tableh/Leftto collapse
Data grid (right)
Column-aware row viewer.
j/kto move rowh/lto scroll columnsEnterto open the row-detail overlayrto reload
Status bar
One line, ordered:
| Field | Source |
|---|---|
| Current table | — if none |
| Row count | N rows |
| Elapsed | Nms |
| Server version | from the engine's handshake |
| RO / RW badge | yellow RO / green RW |
| Context-sensitive hints | r, :ro, /, etc. |
The status bar does not show the connection name, database, or a timestamp.
SQL editor overlay
e from anywhere opens an editor at 70% × 50%. Ctrl+R runs the buffer (despite what the footer docstring says — it's Ctrl+R, not Ctrl+Enter).
Row detail overlay
Enter on a row — Esc to close.