diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-03-14 07:39:38 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-03-14 07:39:38 +1000 |
commit | ad1d70d2957d95161c831e764c6f81c84c332458 (patch) | |
tree | 639cc66297de6fe98e26608003871fe83406879a /src/gwin/sys_options.h | |
parent | b82448c3e23663a25a423402343fbca78253b80c (diff) | |
parent | ea5a1b849df6e5085a92957ad387f9e653674415 (diff) | |
download | uGFX-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.h | 19 |
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() |