From effe7cf54321b2450f7083df658df97e2493d894 Mon Sep 17 00:00:00 2001 From: MichaelDvP <59284019+MichaelDvP@users.noreply.github.com> Date: Sun, 8 Nov 2020 12:43:54 +0100 Subject: [PATCH] linefeed on empty command --- lib/uuid-console/src/shell.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/uuid-console/src/shell.cpp b/lib/uuid-console/src/shell.cpp index 549de97dd..73258d398 100644 --- a/lib/uuid-console/src/shell.cpp +++ b/lib/uuid-console/src/shell.cpp @@ -495,7 +495,8 @@ void Shell::maximum_command_line_length(size_t length) { void Shell::process_command() { if (line_buffer_.empty()) { - return; + println(); + return; } line_old_ = line_buffer_; while (!line_buffer_.empty()) {