diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-06-22 20:48:51 -0400 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-06-22 21:06:32 -0400 |
| commit | 471098df3042c2ab70977662952033a186cb9377 (patch) | |
| tree | b3e7f030567ae23d1f01244f5f5dbfd1205498e3 /include | |
| parent | 0721955dde45bbb53c0af25eea503b825935bb1b (diff) | |
macOS: Run scripts using stdin rather than executing directly
Fixes #7647
See #7647 for context. This commit works by extending the `input` work
introduced in #7652 to libghostty so that the macOS can take advantage
of it. At that point, its just the macOS utilizing `input` in order to
set the command and `exit` up similar to Terminal and iTerm2.
Diffstat (limited to 'include')
| -rw-r--r-- | include/ghostty.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ghostty.h b/include/ghostty.h index 0c5a63448..181f7b7f8 100644 --- a/include/ghostty.h +++ b/include/ghostty.h @@ -413,6 +413,7 @@ typedef struct { const char* command; ghostty_env_var_s* env_vars; size_t env_var_count; + const char* initial_input; } ghostty_surface_config_s; typedef struct { |
