/* VIO Commands */
#define ESC_MOVE_UP        "\x1B" "[" "%d"    "A"
#define ESC_MOVE_DOWN      "\x1B" "[" "%d"    "B"
#define ESC_MOVE_RIGHT     "\x1B" "[" "%d"    "C"
#define ESC_MOVE_LEFT      "\x1B" "[" "%d"    "D"

#define ESC_CR_MOVE_DOWN   "\x1B" "[" "%d"    "E"
#define ESC_VT_MOVE_UP     "\x1B" "[" "%d"    "F"
#define ESC_MOVE_TO_CELL   "\x1B" "[" "%d"    "G"
#define ESC_MOVE_TO        "\x1B" "[" "%d;%d" "H"

#define ESC_MOVE_TO_R0_C0  "\x1B" "["         "H"
#define ESC_MOVE_TO_VSCRN  "\x1B" "[" "%d"    "I"

#define ESC_ERASE_SCREEN   "\x1B" "[" "%d"    "J"
#define ESC_CLEAR_SCREEN   "\x1B" "["         "J"
#define ESC_ERASE_LINE     "\x1B" "[" "%d"    "K"
#define ESC_CLEAR_LINE     "\x1B" "["         "K"

#define ESC_SET_LN_WRAP    "\x1B" "[" "=07"   "h"
#define ESC_SET_NO_LN_WRAP "\x1B" "[" "=07"   "l"

#define ESC_SHOW_CURSOR    "\x1B" "[" "?25"   "h"
#define ESC_HIDE_CURSOR    "\x1B" "[" "?25"   "l"

#define ESC_SAVE_C_POS     "\x1B" "["         "s"
#define ESC_RESTORE_C_POS  "\x1B" "["         "u"

