mirror of
https://github.com/MezzalunaWM/Whetstone.git
synced 2026-03-07 19:49:53 -05:00
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:
parent
10c48188ad
commit
4682db9cfd
1 changed files with 3 additions and 0 deletions
|
|
@ -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, .{});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue