This repository has no description
Something went wrong. Try again.
gtk: fix +new-window `--working-directory` inferrence. master
If the CLI argument `--working-directory` is not used with `+new-window`, the current working directory that `ghostty +new-window` is run from will be appended to the list of configuration data sent to the main Ghostty process. If `-e` _was_ used on the CLI, the `--working-directory` that was appended will be interpreted as part of the command to be executed, likely causing it to fail. Instead, insert `--working-directory` at the beginning of the list of configuration that it sent to the main Ghostty process. Fixes #11356
Author Jeffrey C. Ollie Date (Mar 11, 2026, 7:23 AM UTC) Commit ad6d3665 ad6d3665c29b7e2db4da7e2a5fe67239d0f3df32 Parent dc18b25f dc18b25f86f59c79055ece87e158a5b27f625b05