- Desktop and web terminals use the text-input path too, so IMEs, dead
keys, the emoji picker and dictation work; the key handler still
encodes special keys and chords first (handled keys are never typed
again), composing text is drawn at the cursor and sent on commit, the
platform editable sits at the cursor, and a closed input reopens on
the next key. The editable terminal is a semantics text field so web
typing also works with semantics on.
- Web: "Capture browser keys" (terminal menu and right-click menu) goes
full screen and calls navigator.keyboard.lock(); hold Esc to leave.
No-op where unsupported; cheatsheet and menu note give alternatives.
- Touch: scrollable key row with sticky Ctrl/Alt (tap once, double-tap
lock), Esc, Tab, arrows, Home/End, PgUp/PgDn and symbols through the
hardware encoder; soft keyboard types per key (delete detection,
Return as Enter); the line field moves behind the row's Line button.
- Capture kit: compose=, --semantics false, --user-agent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Colours: terminal background is the theme's lowest surface; the 16 ANSI
colours come from a chosen palette (Theme colours, Classic, Calm, Vivid;
Settings > Terminal > Colours, saved as `palette`) adjusted in lightness
to the background: colours 4.5:1, bright ones lighter than normal,
white light and black dark in both themes so white-on-red/blue/magenta
and black-on-green/yellow/cyan (ls setuid, setgid, sticky) keep 3:1.
Selection, find matches and the current match keep text at 4.5:1.
- Bottom panel opens at 40% of the window, at least 16 rows, until
dragged; the dragged height is remembered (old saved 300 px default
reads as never resized).
- Navigation rail scrolls its tabs (and below 240 px Settings too), so
items never overlap under a tall panel.
- Chat command cards: Expand / Collapse grows a live terminal to 60% of
the window (finished output only to its rows); collapsed stays 12 rows.
- Terminal tabs: ellipsised titles (220 px) with the whole title in the
tooltip, selected tab filled, outlined and bold, close buttons are
IconButtons (48 px touch, 40 px desktop).
- Capture fixture: ?terminalColors=1 and ?terminalPalette=.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Live terminals no longer reflow (xterm.dart 4.0.0 left the cursor on the
wrong row); narrowing cuts and erases cells past the width, rows scroll
into scrollback keeping the cursor row; finished output still reflows.
- App-side key encoding before xterm.dart's defaults: Alt as Meta (ESC +
the typed character), Ctrl symbol table, xterm modifier parameter for
arrows/Home/End/PgUp/PgDn/Ins/Del/F-keys, DECCKM and DECKPAM, Alt+BS.
- Settings > Appearance > Terminal: Use Option as Meta key (Macs, on).
- Inside a focused terminal only Cmd+T and Ctrl+` toggle it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Remove the separate minimise control and make the title-bar X hide windows while preserving their state and reachability. Update window behavior documentation and focused tests for chat, terminal, and window layering.
Phase 3 of docs/plans/floating-windows.md. The terminal window kind reuses
TerminalHub; TerminalWindows keeps the window in step with TerminalLayout
(show opens or shows it, hide minimises it, Minimise and Close hide the
terminal). The bottom panel stays a shell panel. The first window takes the
frame and maximised state pipelines.terminal-layout.v1 saved.
The terminal's own float chrome and FloatingLayer are deleted.
The shortcut no longer waits for a running shell: on the Chat page it opens
the terminal, starting one at its login prompt when none is open, and shows
a count when more than one shell runs.
While shells are running and the full-screen terminal is closed, a small
floating button under the right end of the top bar reopens it, with a count
when more than one shell runs. The surface's stack is always present so the
app never remounts when the shortcut comes or goes.
On Android and iOS a tap on a terminal (a chat command card or the terminal
panel) now opens the soft keyboard and typing goes to the process, with no
autocorrect. Desktop keeps raw key events. Desktop keyboard tests now run
as macOS, since tests default to Android.