summaryrefslogtreecommitdiff
path: root/sys/include/dev/cons/ansi.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-06-09 15:58:56 -0400
committerIan Moffett <ian@osmora.org>2025-06-09 15:58:56 -0400
commit8c24ed3189a9cf5a75809aa28f787d071615c0cd (patch)
tree01c8b73ecc4667d3c84ba3cd3dc2d98e3ecd1299 /sys/include/dev/cons/ansi.h
parent802b5be90d58aeb2344b100d81f88a053b6e0c24 (diff)
kernel: cons: Add ANSI cursor pos reset sequence
- Add support for the "\033[H" ANSI escape sequence to reset the cursor to the 'home' position Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/cons/ansi.h')
-rw-r--r--sys/include/dev/cons/ansi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/dev/cons/ansi.h b/sys/include/dev/cons/ansi.h
index 98d7618..f166458 100644
--- a/sys/include/dev/cons/ansi.h
+++ b/sys/include/dev/cons/ansi.h
@@ -46,6 +46,7 @@
/* ANSI_FEED update codes */
#define ANSI_UPDATE_COLOR -1
+#define ANSI_UPDATE_CURSOR -2
/*
* ANSI parser state machine.