summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2006-12-18 02:19:38 +0100
committerMichael Brown2006-12-18 02:19:38 +0100
commit8b3a4c9862b3ae43f804eb16614d4c5730794eec (patch)
treed232350d92ef828fbc90db81ffcfb3751837b40f /src/include
parentAdded support for interpreting ANSI escape sequences on behalf of (diff)
downloadipxe-8b3a4c9862b3ae43f804eb16614d4c5730794eec.tar.gz
ipxe-8b3a4c9862b3ae43f804eb16614d4c5730794eec.tar.xz
ipxe-8b3a4c9862b3ae43f804eb16614d4c5730794eec.zip
Add basic ANSI escape sequence support to BIOS console
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/ansiesc.h19
1 files changed, 17 insertions, 2 deletions
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'
/** @} */