From 8b3a4c9862b3ae43f804eb16614d4c5730794eec Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 18 Dec 2006 01:19:38 +0000 Subject: Add basic ANSI escape sequence support to BIOS console --- src/include/gpxe/ansiesc.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/gpxe/ansiesc.h b/src/include/gpxe/ansiesc.h index 984858936..ccc4ca657 100644 --- a/src/include/gpxe/ansiesc.h +++ b/src/include/gpxe/ansiesc.h @@ -93,8 +93,23 @@ struct ansiesc_context { * @{ */ -/** Character and line position */ -#define ANSIESC_HVP 'f' +/** Cursor position */ +#define ANSIESC_CUP 'H' + +/** Erase in page */ +#define ANSIESC_ED 'J' + +/** Erase from cursor to end of page */ +#define ANSIESC_ED_TO_END 0 + +/** Erase from start of page to cursor */ +#define ANSIESC_ED_FROM_START 1 + +/** Erase whole page */ +#define ANSIESC_ED_ALL 2 + +/** Select graphic rendition */ +#define ANSIESC_SGR 'm' /** @} */ -- cgit v1.2.3-55-g7522