Commit Graph

7 Commits

Author SHA1 Message Date
Mortdecai 8e70875631 feat: Workspace dark refresh + mobile compose bar
Re-skin the mobile toolbar to Google Workspace dark vocabulary
(#202124 bar, #303134 surface, #3c4043 hairlines, Roboto 12/500)
keeping #D35400 as the sethmux accent. Adds .mono / .hi / .grn
button variants with hover/active wash transitions.

Adds a compose bar (toggled by 'Type' button) — a real <input>
with autocorrect=on and enterkeyhint=send. Enter/Send/↵ flushes the
assembled string to stdin in one shot, plus \\r. Other toolbar taps
while composing flush typed text first to preserve order, but keep
the compose bar open. Sidesteps xterm.js's per-keystroke input
model that drops Gboard/iOS bulk-replacement events.

relayout() now measures bar.offsetHeight instead of hard-coding
calc(100vh - 88px) so the third row reflows the terminal correctly.

Records the design rationale and what was rejected in DECISIONS.md.
2026-04-24 19:50:17 -04:00
Mortdecai 4818a04b0d fix: remove Tab keydown interceptor, use tabIndex=-1 on buttons instead
The keydown interceptor was likely conflicting with xterm.js native
Tab handling. Instead, set tabIndex=-1 on toolbar buttons so Tab
can't escape the terminal to browser focus, and auto-refocus terminal
on any click outside the toolbar.
2026-03-26 20:04:43 -04:00
Mortdecai fef67c148e fix: intercept Tab key to prevent browser focus navigation
Tab key was being captured by the browser for focus cycling instead of
being sent to the terminal for bash completion. Now intercepted at the
document level and forwarded to the terminal when xterm has focus.
2026-03-26 20:02:00 -04:00
Mortdecai 8f407f74ae fix: toolbar buttons now send actual control chars via xterm _core API
Buttons were sending literal 'n'/'p' instead of Ctrl-A+n/p because
the hex escape decode was failing. Now uses real control characters
in data-k attributes and sends via triggerDataEvent() which hooks
directly into ttyd's websocket transport.
2026-03-26 19:34:23 -04:00
Mortdecai 8d075f2b48 feat: AI-CLI workflow optimizations
- 200K scrollback, vi-mode copy, copy-on-select
- Ctrl-A S captures pane to ~/logs/, Ctrl-A L toggles live logging
- Status bar shows git branch + working directory
- Pre-built session: code/git/run/logs windows
- Aggressive resize + focus events for multi-device switching
- Toolbar: added Paste (clipboard), Zoom (pane fullscreen), Save (capture)
- All new windows inherit current working directory
- Toolbar split into 2 rows for more buttons without clutter
2026-03-26 19:13:02 -04:00
Mortdecai 2cca6f3900 feat: dvorak-friendly split keybindings (Ctrl-A v/s) 2026-03-26 19:07:28 -04:00
Mortdecai 5f1beb4d4d feat: initial release - mobile-first web terminal with tmux touch toolbar and push notifications 2026-03-26 18:59:37 -04:00