Skip to content

v1.3.1-paste.1

Pre-release
Pre-release

Choose a tag to compare

@xhqing xhqing released this 20 Sep 10:56
· 31 commits to main since this release

What this is

Personal fork of Ghostty, based on upstream v1.3.1, adding a single macOS feature:

Cmd+V pastes clipboard images as a temp-file path. Screenshots captured straight to the clipboard (Cmd+Shift+Ctrl+4) previously did nothing on paste — the clipboard holds only image data, no text and no file URL. This fork writes the image to `$TMPDIR/ghostty-paste-.png` (TIFF converted to PNG) and pastes the escaped path, so TUI apps (Claude Code, pi, …) receive it as an image path.

  • Existing paste behavior is unchanged: file URLs still paste as paths, text still pastes as text. The image fallback only kicks in where upstream silently pasted nothing.
  • Same idea as cmux (host-layer) and Warp (GUI-layer); implemented in the terminal's own clipboard read path.
  • Approach from ghostty-org/ghostty#11571 (auto-closed by the vouch bot), independently verified end to end.

Install

Download `Ghostty.app.zip`, unzip, replace `/Applications/Ghostty.app`. Existing config in `~/.config/ghostty` is untouched.

Note: the app is ad-hoc signed (no Apple Developer certificate). If macOS refuses first launch, allow it in System Settings → Privacy & Security.

Build

Built by GitHub Actions (build.yml): Zig 0.15.2 + Xcode 26.2 (the upstream v1.3.1 toolchain), universal binary (x86_64 + arm64). Fork-specific changes are tracked in CHANGELOG.md.