From 4682db9cfd3886b12eed061b61784b56d57c6677 Mon Sep 17 00:00:00 2001 From: Squibid Date: Wed, 10 Dec 2025 21:20:37 -0500 Subject: [PATCH] fix -c flag from not returning any information, it still prints a > at... the end due to our hacky prompt --- src/main.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.zig b/src/main.zig index 18dcd2b..0d6d727 100644 --- a/src/main.zig +++ b/src/main.zig @@ -76,6 +76,9 @@ pub fn main() !void { // handle options if (options.options.code) |c| { remote.remote_lua.?.pushLua(@ptrCast(c[0..].ptr)); + _ = remote.display.flush(); + _ = remote.display.dispatch(); + return; } else if (!options.options.@"follow-log") { input_thread = try .spawn(.{}, inputThreadRun, .{}); }