From 2f2045f10be01617b783f1b9e098e67c92053929 Mon Sep 17 00:00:00 2001 From: Arne Beer Date: Sun, 12 Feb 2023 15:55:36 +0100 Subject: [PATCH] fix: missing newline --- CHANGELOG.md | 1 + pueue/src/client/client.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e22d5a1..a21899f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Fixed - Switched the test suite on MacOS to use the new `libproc::processes::pids_by_type()` API to enumerate PIDs in a program group, removing the need to depend on the unmaintained darwing-librproc library. [#409](https://github.com/Nukesor/pueue/issues/409). +- Fixed missing newlines after `status`, `log` and `follow` ## [3.1.0] - 2023-02-08 diff --git a/pueue/src/client/client.rs b/pueue/src/client/client.rs index 9696295c..914883f8 100644 --- a/pueue/src/client/client.rs +++ b/pueue/src/client/client.rs @@ -309,14 +309,14 @@ impl Client { let tasks = state.tasks.values().cloned().collect(); let output = print_state(*state, tasks, &self.subcommand, &self.style, &self.settings)?; - print!("{output}"); + println!("{output}"); } Message::LogResponse(task_logs) => { print_logs(task_logs, &self.subcommand, &self.style, &self.settings) } Message::GroupResponse(groups) => { let group_text = format_groups(groups, &self.style); - print!("{group_text}"); + println!("{group_text}"); } Message::Stream(text) => { print!("{text}");