From dce7f13461e11bfacc2a66a3c3f7f740b89e7200 Mon Sep 17 00:00:00 2001 From: bylex Date: Wed, 25 Sep 2024 15:19:32 +0200 Subject: [PATCH] Fix output issue \r was making the execution counter garble the last line of output after halting --- interpreter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreter.c b/interpreter.c index 10ab391..e771ffa 100644 --- a/interpreter.c +++ b/interpreter.c @@ -48,6 +48,6 @@ int main(int argc, char *argv[]) (*opcodes[instruction]) (arg1, arg2, arg3); instruction_counter++; } - printf("Execution halted: cause %d\n", halted_reason); + printf("\nExecution halted: cause %d\n", halted_reason); } -- 2.25.1