Skip to content

Commit f6d2260

Browse files
committed
Qualify clipboard image attach as macOS-only in help copy
/help and /paste-image described clipboard attach as universal. The attach path only reads a macOS PNG; Linux and Windows get an error. TUI.md now also says the mention popup splices and send inlines.
1 parent 3459709 commit f6d2260

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

docs/TUI.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,8 @@ so an in-flight lookup cannot reopen it. A lookup that finishes after the
604604
cursor has left that token does not open. Dismiss clears mention accept state
605605
and bumps generation.
606606
Directory picks re-open one level down so the operator can drill into a path
607-
without retyping it.
607+
without retyping it. The popup only splices a path into the prompt; submit
608+
inlines `@file` contents and summarizes `@dir` via `ingestOperatorPrompt`.
608609

609610
A readline-style kill ring backs Ctrl+K/U/W (kill) and Ctrl+Y/Alt+Y
610611
(yank/yank-pop) on top of the textarea's native delete bindings, which

src/tui/commands/built-in.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export function registerBuiltInCommands(): void {
102102

103103
registerCommand({
104104
name: "paste-image",
105-
description: "Attach the current clipboard image to the next message",
105+
description: "Attach a PNG from the macOS clipboard to the next message",
106106
handler: (_args, _ctx) => ({ type: "paste-image" }),
107107
});
108108

src/tui/keybindings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const SHELL_SHORTCUTS: readonly ShellShortcut[] = [
7070
{ keys: "Alt+Y", description: "replace the text just yanked with the next-older kill" },
7171
{
7272
keys: "Ctrl+V / Ctrl+P",
73-
description: "attach an image from the clipboard to the next message",
73+
description: "attach a PNG from the macOS clipboard to the next message",
7474
},
7575
{
7676
keys: "@",

0 commit comments

Comments
 (0)