From 0f6e37a29bd79a2fe28fce5ea2edabe25dc469c0 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Sun, 10 Mar 2019 15:10:46 +0200 Subject: [PATCH] Properly newline in console command_prompt --- src/devices/console.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/console.rs b/src/devices/console.rs index bd9b7fa..3d18f18 100644 --- a/src/devices/console.rs +++ b/src/devices/console.rs @@ -110,7 +110,7 @@ impl Console { input = self.getc(); if input == '\n' { - self.putc('\n'); + self.puts("\n"); // do \r\n output return &buf[..i]; } else { if i < buf.len() {