mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-24 22:00:16 +00:00
Expose toggle-quick-terminal as a proper IPC action so it can be triggered via 'ghostty +toggle-quick-terminal' from the command line, instead of calling the raw D-Bus org.gtk.Actions.Activate interface. This follows the same pattern as the existing +new-window IPC command: - Add toggle_quick_terminal to apprt.ipc.Action enum (Zig + C ABI) - Create apprt/gtk/ipc/toggle_quick_terminal.zig (GTK D-Bus handler) - Route .toggle_quick_terminal in apprt/gtk/App.zig performIpc - Register toggle-quick-terminal GAction in application.zig - Add +toggle-quick-terminal CLI handler in cli/ - Register in cli/ghostty.zig Action enum, runMain, and options - Add stub in apprt/embedded.zig - Update include/ghostty.h C header enum Usage: ghostty +toggle-quick-terminal Closes: #12618