From 871be0199a3218bb748f5b2d360b20a56abf84a4 Mon Sep 17 00:00:00 2001 From: Erwin Ried <1091420+eried@users.noreply.github.com> Date: Sat, 8 Aug 2020 23:08:54 +0200 Subject: [PATCH] In some scenarios, the new line does not work if is not called thru the write function --- firmware/common/ui_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/common/ui_widget.cpp b/firmware/common/ui_widget.cpp index 01639e0c..c7427d47 100644 --- a/firmware/common/ui_widget.cpp +++ b/firmware/common/ui_widget.cpp @@ -625,7 +625,8 @@ void Console::write(std::string message) { void Console::writeln(std::string message) { write(message); - crlf(); + write("\n"); + //crlf(); } void Console::paint(Painter&) {