From 42ebaaf23a3dbb2f9867e9df2eabb6034e8b3db4 Mon Sep 17 00:00:00 2001 From: Joao Louceiro <89097431+joaoLouceiro@users.noreply.github.com> Date: Wed, 10 Dec 2025 09:51:39 +0000 Subject: [PATCH] Fix exit code message formatting in Run:on_job_exit Adding a new line after the exit code improves the readability of the log. --- lua/java-runner/run.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/java-runner/run.lua b/lua/java-runner/run.lua index c110589..41fc87e 100644 --- a/lua/java-runner/run.lua +++ b/lua/java-runner/run.lua @@ -72,7 +72,7 @@ end ---Runs when the current job exists ---@param exit_code number function Run:on_job_exit(exit_code) - local message = string.format('Process finished with exit code::%s', exit_code) + local message = string.format('Process finished with exit code::%s\n', exit_code) self:send_term(message) self.is_running = false