Displays user interactions with menus displayed on a console or a serial terminal.

Dependents:   EVAL-AD568x-AD569x EVAL-AD7124 EVAL-AD5592R EVAL-AD717x-AD411x ... more

Revision:
4:ced4fa6875ed
Parent:
3:b491377501ce
Child:
5:052b9936f41f
--- a/adi_console_menu.h	Fri Feb 19 09:25:57 2021 +0000
+++ b/adi_console_menu.h	Sun May 09 22:59:54 2021 +0530
@@ -30,7 +30,11 @@
 #define EOL "\r\n"
 
 /* ANSI VT100 escape sequence codes */
-#define VT100_MOVE_UP_1_LINE	"\033[A"
+#define VT100_MOVE_UP_1_LINE		"\033[A"
+#define VT100_MOVE_UP_N_LINES		"\x1B[%dA"
+#define VT100_CLEAR_CURRENT_LINE	"\x1B[J"
+#define VT100_CLEAR_CONSOLE         "\x1B[2J"
+#define VT100_MOVE_TO_HOME          "\x1B[H"
 
 #ifndef ARRAY_SIZE
 #define ARRAY_SIZE(x) ((sizeof (x)) / (sizeof ((x)[0])))