Print the newline character along with the carriage return when TERM_EMU is

disabled. Without this we print all lines over top of each other.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
andrew 2016-06-08 23:13:20 +00:00
parent 9b6b6d0c02
commit 05e9e0ac08

View File

@ -139,8 +139,7 @@ efi_cons_rawputchar(int c)
#ifndef TERM_EMU
if (c == '\n')
efi_cons_efiputchar('\r');
else
efi_cons_efiputchar(c);
efi_cons_efiputchar(c);
#else
switch (c) {
case '\r':