aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/sys_options.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-03-14 07:39:38 +1000
committerinmarket <andrewh@inmarket.com.au>2014-03-14 07:39:38 +1000
commitad1d70d2957d95161c831e764c6f81c84c332458 (patch)
tree639cc66297de6fe98e26608003871fe83406879a /src/gwin/sys_options.h
parentb82448c3e23663a25a423402343fbca78253b80c (diff)
parentea5a1b849df6e5085a92957ad387f9e653674415 (diff)
downloaduGFX-ad1d70d2957d95161c831e764c6f81c84c332458.tar.gz
uGFX-ad1d70d2957d95161c831e764c6f81c84c332458.tar.bz2
uGFX-ad1d70d2957d95161c831e764c6f81c84c332458.zip
Merge branch 'master' into gwin
Diffstat (limited to 'src/gwin/sys_options.h')
-rw-r--r--src/gwin/sys_options.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gwin/sys_options.h b/src/gwin/sys_options.h
index 07f63b99..3f7c3893 100644
--- a/src/gwin/sys_options.h
+++ b/src/gwin/sys_options.h
@@ -174,6 +174,25 @@
#define GWIN_CONSOLE_USE_FLOAT FALSE
#endif
/**
+ * @brief Console windows support escape sequences to control display
+ * @details Defaults to FALSE
+ *
+ * @note
+ * Currently supported:
+ * ESC color Change subsequent text color
+ * color: "0" = black, "1" = red, "2" = green, "3" = yellow, "4" = blue,
+ * "5" = magenta, "6" = cyan, "7" = white
+ * ESC C Revert subsequent text color to the window default
+ * ESC u Turn on underline
+ * ESC U Turn off underline
+ * ESC b Turn on bold
+ * ESC B Turn off bold
+ * ESC J Clear the window
+ */
+ #ifndef GWIN_CONSOLE_ESCSEQ
+ #define GWIN_CONSOLE_ESCSEQ FALSE
+ #endif
+ /**
* @brief Console Windows need BaseStreamSequential support (ChibiOS only)
* @details Defaults to FALSE
* @note To use the ChibiOS basestream functions such as chprintf()