aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/console.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/console.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/console.h')
-rw-r--r--src/gwin/console.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gwin/console.h b/src/gwin/console.h
index 252b627e..14bc7eb3 100644
--- a/src/gwin/console.h
+++ b/src/gwin/console.h
@@ -31,6 +31,12 @@ typedef struct GConsoleObject {
GWindowObject g;
coord_t cx, cy; // Cursor position
+ #if GWIN_CONSOLE_ESCSEQ
+ uint8_t startattr; // ANSI-like escape sequences
+ uint8_t currattr;
+ uint16_t escstate;
+ #endif
+
#if GWIN_CONSOLE_USE_HISTORY
char * buffer; // buffer to store console content
size_t bufsize; // size of buffer