Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

TUI Mode

Launch a full-screen terminal interface for browsing and managing connections:

bayesian-ssh tui

Keybindings

KeyAction
Up / kNavigate up
Down / jNavigate down
PgUp / PgDnPage navigation
EnterConnect / Toggle detail pane
/Search
tFilter by tag
dToggle detail pane
eEdit connection inline
sCycle sort field (Name, Host, Last Used, Created)
SToggle sort direction
vToggle compact/expanded view
rRefresh
?Help overlay
qQuit

Features

Detail Pane

Press Enter or d on a connection to open a side panel showing:

  • All connection fields
  • Full SSH command preview
  • Contextual hints

Inline Editing

Press e to edit any connection directly from the TUI:

  • 8-field overlay with cursor navigation
  • Changes are written back to the database on save

Sorting

  • Press s to cycle through sort fields: Name, Host, Last Used, Created
  • Press S to toggle ascending/descending order
  • The current sort indicator is shown in the header

Compact View

Press v to toggle between:

  • Single-line rows - compact view showing key info
  • Two-line rows - expanded view with more detail

Visual Indicators

  • [B] badge indicates bastion host is configured
  • [K] badge indicates Kerberos is enabled
  • Alternating row backgrounds for readability
  • Mode-coloured status bar

TUI Logging

When the TUI is active, tracing output is routed to ~/.local/share/bayesian-ssh/tui.log to prevent log lines from corrupting the terminal display.