diff --git a/src/web/public/keyboard-accessory.js b/src/web/public/keyboard-accessory.js index 6972008d..a254b96c 100644 --- a/src/web/public/keyboard-accessory.js +++ b/src/web/public/keyboard-accessory.js @@ -4,10 +4,12 @@ * Defines three exports: * * - KeyboardAccessoryBar (singleton object) — Quick action buttons shown above the virtual - * keyboard on mobile: arrow up/down, /init, /clear, /compact, paste, Esc, and dismiss. + * keyboard on mobile: arrow up/down, /init, Tab, paste, Esc, and dismiss (the extended + * bar adds /clear, /compact, Shift+Tab and more). Tab flushes any locally-buffered + * prompt text to the PTY before sending \t, so completion applies to what was typed. * The paste button opens a dialog that handles both text paste and image attach * (native picker + best-effort image paste, routed through app._uploadAndInsertImages). - * Destructive actions (/clear, /compact) require double-tap confirmation (2s amber state). + * Destructive actions (/clear, /compact, extended bar only) require double-tap confirmation (2s amber state). * Commands are sent as text + Enter separately for Ink compatibility. * Only initializes on touch devices (MobileDetection.isTouchDevice guard). * - PathPicker (singleton object) — Lazy server-side file/folder browser shared @@ -432,7 +434,7 @@ const KeyboardAccessoryBar = { - +