Global Flags
These flags are available for all TUIOS commands and affect the main application behavior.| Flag | Type | Default | Description |
|---|---|---|---|
--debug | boolean | false | Enable debug logging to stderr |
--cpuprofile <file> | string | - | Write CPU profile to specified file for performance analysis |
--ascii-only | boolean | false | Use ASCII characters instead of Nerd Font icons |
--theme <name> | string | - | Color theme to use (e.g., dracula, nord, tokyonight). Leave empty to use standard terminal colors |
--list-themes | boolean | false | List all available themes and exit |
--preview-theme <name> | string | - | Preview a theme’s 16 ANSI colors and exit |
--border-style <style> | string | rounded | Window border style (see Border Styles below) |
--dockbar-position <pos> | string | bottom | Dockbar position: bottom, top, hidden |
--hide-window-buttons | boolean | false | Hide window control buttons (minimize, maximize, close) |
--scrollback-lines <n> | int | 10000 | Number of lines to keep in scrollback buffer (min: 100, max: 1000000) |
--show-keys | boolean | false | Enable showkeys overlay to display pressed keys |
--no-animations | boolean | false | Disable UI animations for instant transitions |
--window-title-position <pos> | string | bottom | Window title position: bottom, top, hidden |
--hide-clock | boolean | false | Hide the clock overlay |
Border Styles
Available border styles for--border-style:
rounded- Rounded corners (default)normal- Sharp cornersthick- Thick linesdouble- Double lineshidden- No bordersblock- Block charactersascii- ASCII-only bordersouter-half-block- Half-block outer borderinner-half-block- Half-block inner border
Theme Commands
SSH Server Flags
Flags fortuios ssh command.
| Flag | Type | Default | Description |
|---|---|---|---|
--port <port> | string | 2222 | SSH server port |
--host <host> | string | localhost | SSH server host |
--key-path <path> | string | - | Path to SSH host key (auto-generated if not specified) |
--default-session <name> | string | - | Default session name for all connections |
--ephemeral | boolean | false | Run in ephemeral mode (standalone, no daemon) |
SSH Session Selection Priority
--default-sessionflag (if specified)- SSH username (if not generic like “tuios”, “root”, “anonymous”)
- SSH command argument (e.g.,
ssh host attach mysession) - First available session or create new
Examples
Configuration Flags
No additional flags for configuration commands.tuios config path
Print configuration file path.
tuios config edit
Open configuration in $EDITOR.
tuios config reset
Reset configuration to defaults (with confirmation).
Keybindings Flags
No additional flags for keybindings commands.tuios keybinds list
Display all configured keybindings in a formatted table.
tuios keybinds list-custom
Display only keybindings that differ from defaults.
Tape Flags
Flags fortuios tape commands.
tuios tape play <file.tape>
Run a tape file in interactive mode with visible TUI.
| Flag | Type | Default | Description |
|---|---|---|---|
-v, --visible | boolean | true | Show TUI during playback |
Ctrl+P- Pause/resume playback
tuios tape validate <file.tape>
Validate tape file syntax without running it.
tuios tape list
List all saved tape recordings.
tuios tape dir
Show the tape recordings directory path.
tuios tape delete <name>
Delete a tape recording.
tuios tape show <name>
Display the contents of a tape file.
tuios tape exec <file.tape>
Execute a tape file in a running session.
| Flag | Type | Default | Description |
|---|---|---|---|
-s, --session <name> | string | - | Target session (default: most recently active) |
Session Management Flags
tuios attach [session-name]
Attach to an existing TUIOS session.
| Flag | Type | Default | Description |
|---|---|---|---|
-c, --create | boolean | false | Create session if it doesn’t exist |
tuios new [session-name]
Create a new TUIOS session (no flags).
tuios ls
List TUIOS sessions (no flags).
tuios kill-session <session-name>
Kill a TUIOS session (no flags).
Daemon Flags
tuios daemon
Run the TUIOS daemon in the foreground.
| Flag | Type | Default | Description |
|---|---|---|---|
--log-level <level> | string | - | Debug log level: off, errors, basic, messages, verbose, trace |
off- No debug output (default)errors- Only error messagesbasic- Connection events and errorsmessages- All protocol messages except PTY I/Overbose- All messages including PTY I/Otrace- Full payload hex dumps
tuios start-server
Start the TUIOS daemon in the background (hidden, no flags).
tuios kill-server
Stop the TUIOS daemon (no flags).
Remote Control Flags
tuios send-keys <keys>
Send keystrokes to a running TUIOS session.
| Flag | Type | Default | Description |
|---|---|---|---|
-s, --session <name> | string | - | Target session (default: most recently active) |
-l, --literal | boolean | false | Send keys directly to terminal PTY (bypass TUIOS) |
-r, --raw | boolean | false | Treat each character as a separate key (no splitting) |
- Single keys:
i,n,Enter,Escape,Space - Key combos:
ctrl+b,alt+1,shift+Enter(case-insensitive) - Sequences: space or comma separated, e.g.,
ctrl+b qorctrl+b,q
$PREFIXorPREFIX- Expands to configured leader key (default:ctrl+b)
ctrl, alt, shift, super, meta
Special Keys: Enter, Return, Space, Tab, Escape, Esc, Backspace, Delete, Up, Down, Left, Right, Home, End, PageUp, PageDown, F1-F12
Examples:
tuios run-command <command> [args...]
Execute a tape command in a running session.
| Flag | Type | Default | Description |
|---|---|---|---|
-s, --session <name> | string | - | Target session (default: most recently active) |
--list | boolean | false | List all available commands |
--json | boolean | false | Output result as JSON (for scripting) |
tuios set-config <path> <value>
Set a configuration option at runtime.
| Flag | Type | Default | Description |
|---|---|---|---|
-s, --session <name> | string | - | Target session (default: most recently active) |
dockbar_position- Dockbar position:top,bottom,left,rightborder_style- Border style:rounded,normal,thick,double,hidden,block,asciianimations- Enable animations:true,false,togglehide_window_buttons- Hide window buttons:true,false
Logs Flags
tuios logs
View daemon logs.
| Flag | Type | Default | Description |
|---|---|---|---|
-n, --lines <count> | int | 50 | Number of log entries to show (0 or —all for all) |
--clear | boolean | false | Clear logs after viewing |
-f, --follow | boolean | false | Follow logs (continuously show new entries) |
--all | boolean | false | Show all log entries |
Inspection Flags
tuios list-windows
List all windows in the session.
| Flag | Type | Default | Description |
|---|---|---|---|
-s, --session <name> | string | - | Target session (default: most recently active) |
--json | boolean | false | Output as JSON |
tuios get-window [id-or-name]
Get detailed info about a window.
| Flag | Type | Default | Description |
|---|---|---|---|
-s, --session <name> | string | - | Target session (default: most recently active) |
--json | boolean | false | Output as JSON |
tuios session-info
Get current session information.
| Flag | Type | Default | Description |
|---|---|---|---|
-s, --session <name> | string | - | Target session (default: most recently active) |
--json | boolean | false | Output as JSON |
Version Flag
- Version number
- Git commit hash
- Build date
- Built by (goreleaser or manual)
See Also
- Keybindings Reference - Complete keyboard shortcuts
- Tape Syntax Reference - Tape scripting language
- Configuration Guide - TOML configuration options