fix -c flag from not returning any information, it still prints a > at...

the end due to our hacky prompt
This commit is contained in:
Squibid 2025-12-10 21:20:37 -05:00
parent 10c48188ad
commit 4682db9cfd
Signed by: squibid
GPG key ID: BECE5684D3C4005D

View file

@ -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, .{});
}