Skip to content

v1.4.6 – Fix Ghostty multiple windows

Choose a tag to compare

@nathandale nathandale released this 24 Feb 23:40
· 3 commits to master since this release

What's fixed

Ghostty – clicking a bookmark when Ghostty is already running now opens a new window with the SSH session instead of a blank window.

Root cause

open -n -b com.mitchellh.ghostty --args --command=... drops the --args payload when macOS coalesces the new launch into the existing Ghostty process. The result was every click after the first opened a plain CMD-N style window with no SSH connection.

Fix

Shuttle now runs the ghostty binary directly via NSTask. When Ghostty is already running, the binary connects to its IPC socket and tells the existing process to open a new window with --command=<script>. When Ghostty is not running, it launches fresh with the same argument. One code path, both cases handled correctly.