From 425c86179791cd32e2d4ce0ae7f269940b4b0663 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Thu, 10 Sep 2026 21:51:57 +0300 Subject: chore: upgrade libghostty and preserve terminal behavior (#3906) --- vendor/libghostty-vt/src/cli/list_actions.zig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vendor/libghostty-vt/src/cli/list_actions.zig') diff --git a/vendor/libghostty-vt/src/cli/list_actions.zig b/vendor/libghostty-vt/src/cli/list_actions.zig index aaef1195..ce4af5c4 100644 --- a/vendor/libghostty-vt/src/cli/list_actions.zig +++ b/vendor/libghostty-vt/src/cli/list_actions.zig @@ -3,6 +3,7 @@ const args = @import("args.zig"); const Action = @import("ghostty.zig").Action; const Allocator = std.mem.Allocator; const helpgen_actions = @import("../input/helpgen_actions.zig"); +const global = @import("../global.zig"); pub const Options = struct { /// If `true`, print out documentation about the action associated with the @@ -32,14 +33,14 @@ pub fn run(alloc: Allocator) !u8 { defer opts.deinit(); { - var iter = try args.argsIterator(alloc); + var iter = try args.argsIterator(alloc, global.args()); defer iter.deinit(); try args.parse(Options, alloc, &opts, &iter); } - var stdout: std.fs.File = .stdout(); + var stdout: std.Io.File = .stdout(); var buffer: [4096]u8 = undefined; - var stdout_writer = stdout.writer(&buffer); + var stdout_writer = stdout.writer(global.io(), &buffer); try helpgen_actions.generate( &stdout_writer.interface, .plaintext, -- cgit v1.2.3