aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/sys_options.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-03-14 07:38:02 +1000
committerinmarket <andrewh@inmarket.com.au>2014-03-14 07:38:02 +1000
commit6f54bde79c553301a35535a0a71a4a09b181abfa (patch)
tree1408ad80459cd09da47960b4905d50195916639d /src/gwin/sys_options.h
parent6d372f13528f44919ec193d03248d55a53484968 (diff)
parentea5a1b849df6e5085a92957ad387f9e653674415 (diff)
downloaduGFX-6f54bde79c553301a35535a0a71a4a09b181abfa.tar.gz
uGFX-6f54bde79c553301a35535a0a71a4a09b181abfa.tar.bz2
uGFX-6f54bde79c553301a35535a0a71a4a09b181abfa.zip
Merge branch 'master' into freertos
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 02467916..e7bb93b4 100644
--- a/src/gwin/sys_options.h
+++ b/src/gwin/sys_options.h
@@ -160,6 +160,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()