Add remaining ANSI escapes to ansi_escapes.h

All ANSI escapes sequences except "Select graphic rendition" are
supported.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
This commit is contained in:
Collin J. Doering 2015-10-15 00:27:19 -04:00
parent f84eb1ddda
commit 89a10c4802
1 changed files with 13 additions and 0 deletions

View File

@ -40,3 +40,16 @@
#define SD(n) CSI #n "T" // Scroll down
#define HVP(n,m) CSI #n ";" #m "f" // Horizontal and vertical position
// #define SGR(n,m) CSI #n #m // Select graphic rendition
#define AUX_ON CSI "5i" // AUX port on
#define AUX_OFF CSI "4i" // AUX port off
// #define DSR CSI "6 n" // Device status report
#define SCP CSI "s" // Save cursor position
#define RCP CSI "u" // Restore cursor position
#define HIDE_CURSOR CSI "?25l" // DECTCEM: hide cursor
#define SHOW_CURSOR CSI "?25h" // DECTCEM: show cursor