RaisDBRaisDB
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 / k to navigate
  • Enter / l / Right to expand or load a table
  • h / Left to collapse

Data grid (right)

Column-aware row viewer.

  • j / k to move row
  • h / l to scroll columns
  • Enter to open the row-detail overlay
  • r to reload

Status bar

One line, ordered:

FieldSource
Current table if none
Row countN rows
ElapsedNms
Server versionfrom the engine's handshake
RO / RW badgeyellow RO / green RW
Context-sensitive hintsr, :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.

On this page