diff options
Diffstat (limited to 'vendor/libghostty-vt/src/apprt/ipc.zig')
| -rw-r--r-- | vendor/libghostty-vt/src/apprt/ipc.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/src/apprt/ipc.zig b/vendor/libghostty-vt/src/apprt/ipc.zig index b37647e0..dda794ae 100644 --- a/vendor/libghostty-vt/src/apprt/ipc.zig +++ b/vendor/libghostty-vt/src/apprt/ipc.zig @@ -73,6 +73,9 @@ pub const Action = union(enum) { /// The arguments to pass to Ghostty as the command. new_window: NewWindow, + /// Toggle the quick terminal. + toggle_quick_terminal: void, + pub const NewWindow = struct { /// A list of command arguments to launch in the new window. If this is /// `null` the command configured in the config or the user's default @@ -113,6 +116,7 @@ pub const Action = union(enum) { /// Sync with: ghostty_ipc_action_tag_e pub const Key = enum(c_int) { new_window, + toggle_quick_terminal, test "ghostty.h Action.Key" { try lib.checkGhosttyHEnum(Key, "GHOSTTY_IPC_ACTION_"); |
