# Send to Ghostty

By Adam Hart

Send selected command text to the active Ghostty terminal pane. Removes trailing newlines; review the selection and terminal before running.

Send a command from a guide, chat, or document to Ghostty without copying and switching apps manually. Activates Ghostty, opens a window if needed, and sends the selection to the focused terminal pane in its selected tab. Suggests the action for command-like text. Trailing newlines are removed, but internal line breaks and control characters remain: multiline input may execute commands depending on the shell or running program. Text may append to anything already at the prompt. Use an empty, idle prompt and review the selection first. Blank-line-only input currently produces an error.

Requires the next ActionClip app update. Not available in the current public 2.3.2 release.

## Requirements

Ghostty with AppleScript support, a compatible ActionClip version with reviewed Community actions, and macOS Automation permission for ActionClip to control Ghostty. Start with an empty, idle terminal prompt.

## Privacy

The full selected text is sent locally to the active Ghostty terminal pane through AppleScript. This action makes no network request itself. A shell, remote session, or other program running in that pane may process, execute, record, or transmit the text.

[Download action](https://actionclip.app/actions/community-send-to-ghostty.actionclip)
