[coreboot-gerrit] New patch to review for coreboot: libpayload: Swap the macros of VT100_CURSOR_ON and VT100_CURSOR_OFF
House Chou (hoare.tw@gmail.com)
gerrit at coreboot.org
Tue Jun 30 05:07:41 CEST 2015
House Chou (hoare.tw at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10718
-gerrit
commit 87a6b6ed0499c514b697ec060e134a5933e65205
Author: House Chou <hoare.tw at gmail.com>
Date: Tue Jun 30 10:10:46 2015 +0800
libpayload: Swap the macros of VT100_CURSOR_ON and VT100_CURSOR_OFF
The macros of VT100_CURSOR_ON and VT100_CURSOR_OFF are exchanged
Change-Id: Ifdae186ae0503a915d695a9e3fd24bdf65d8428a
Signed-off-by: House Chou <hoare.tw at gmail.com>
---
payloads/libpayload/drivers/serial.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/payloads/libpayload/drivers/serial.c b/payloads/libpayload/drivers/serial.c
index 6ecc5d2..2502775 100644
--- a/payloads/libpayload/drivers/serial.c
+++ b/payloads/libpayload/drivers/serial.c
@@ -171,8 +171,8 @@ int serial_getchar(void)
#define VT100_SREVERSE "\e[7m"
#define VT100_EREVERSE "\e[m"
#define VT100_CURSOR_ADDR "\e[%d;%dH"
-#define VT100_CURSOR_ON "\e[?25l"
-#define VT100_CURSOR_OFF "\e[?25h"
+#define VT100_CURSOR_ON "\e[?25h"
+#define VT100_CURSOR_OFF "\e[?25l"
/* The following smacs/rmacs are actually for xterm; a real vt100 has
enacs=\E(B\E)0, smacs=^N, rmacs=^O. */
#define VT100_SMACS "\e(0"
More information about the coreboot-gerrit
mailing list