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@gmail.com>
Reviewed-on: http://review.coreboot.org/10718
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
House Chou 2015-06-30 10:10:46 +08:00 committed by Patrick Georgi
parent 3270369986
commit c8144f96ab
1 changed files with 2 additions and 2 deletions

View File

@ -171,8 +171,8 @@ int serial_getchar(void)
#define VT100_SREVERSE "\e[7m" #define VT100_SREVERSE "\e[7m"
#define VT100_EREVERSE "\e[m" #define VT100_EREVERSE "\e[m"
#define VT100_CURSOR_ADDR "\e[%d;%dH" #define VT100_CURSOR_ADDR "\e[%d;%dH"
#define VT100_CURSOR_ON "\e[?25l" #define VT100_CURSOR_ON "\e[?25h"
#define VT100_CURSOR_OFF "\e[?25h" #define VT100_CURSOR_OFF "\e[?25l"
/* The following smacs/rmacs are actually for xterm; a real vt100 has /* The following smacs/rmacs are actually for xterm; a real vt100 has
enacs=\E(B\E)0, smacs=^N, rmacs=^O. */ enacs=\E(B\E)0, smacs=^N, rmacs=^O. */
#define VT100_SMACS "\e(0" #define VT100_SMACS "\e(0"