Desktop Material

TUI interaction and accessibility

Historical prototype record: This page preserves the July 27, 2026 TUI experiment. It is not current supported-product guidance or a Windows-release blocker.

Mouse interaction

Mouse support is enabled when the application starts. In a compatible terminal, a user can:

Terminal multiplexers must pass mouse reporting through. In tmux, this normally means set -g mouse on. Holding the terminal emulator's selection modifier (often Shift) may intentionally bypass application mouse handling so terminal text can be copied.

Text boxes

The TUI uses actual editable controls rather than simulating form entry with single-key prompts:

User data Control
repository path, clone URL, branch/stash name, search query single-line Input
worktree path/branch, submodule path, build/run/shell command single-line Input
commit summary bounded single-line Input
commit body, diff detail, issue/PR body, API payload, regex sample multiline TextArea
theme, density, accent, language, search mode, flags Select, checkbox, or selection list

Click a text control or reach it with Tab, type normally, use arrow keys to move the caret, Backspace/Delete to edit, and Ctrl+A/C/X/V where the terminal exposes those sequences. Multiline commit and provider bodies keep Enter for a newline; the surrounding action is a separate button so text entry never submits by accident.

Repository path inputs remove one matching outer single- or double-quote pair from pasted text immediately and normalize once more on submission. They do not evaluate shell syntax or remove internal, unmatched, or mismatched quotes. The repository path browser guide records the exact parsing, failure, and security contract.

Keyboard interaction

Tab and Shift+Tab traverse focusable controls. Enter activates the focused button or selected row; Space toggles checkboxes and selections. Arrow keys move within tabs, lists, tables, selects, and text. Escape dismisses a decision dialog or closes transient choice UI without performing the action.

Global bindings:

Key Action
Ctrl+O open repository path dialog
Ctrl+P command palette
Ctrl+R refresh repository
Ctrl+Shift+F regex builder
F1 help
F5 fetch
Ctrl+Shift+P push
Ctrl+Q quit

Terminal and desktop window managers can reserve key combinations. The clickable control remains the fallback.

Focus, resizing, and clipping

Focused controls receive a visible focus treatment. The shell switches to compact layout below 125 columns and narrow layout below 100 columns. Long tables and details scroll instead of being silently clipped. The acceptance run must exercise wide, compact, and narrow dimensions plus bilingual copy; a CSS breakpoint alone is not evidence that every control remains reachable.

The terminal emulator owns cell dimensions, font family, font size, CJK glyph fallback, zoom, and cursor rendering. The application owns control labels, logical focus, color roles, borders, responsive placement, and scroll ranges.

Assistive technology

Terminal screen-reader behavior varies by emulator, multiplexer, and platform. The TUI cannot claim graphical ARIA semantics. Real assistive-technology acceptance is tracked separately from keyboard and geometry checks and must remain pending until exercised.

Known interaction constraints