From c1105485079fba97a62df62baeff3a4dcc7686ef Mon Sep 17 00:00:00 2001 From: inmarket Date: Tue, 4 Mar 2014 14:14:15 +1000 Subject: Add support for ANSI like escape sequences to control display color and attributes in a GWIN console. Updated the console demo to demonstrate this. --- demos/modules/gwin/console/gfxconf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'demos/modules/gwin/console/gfxconf.h') diff --git a/demos/modules/gwin/console/gfxconf.h b/demos/modules/gwin/console/gfxconf.h index 3ada3b89..e1b4db61 100644 --- a/demos/modules/gwin/console/gfxconf.h +++ b/demos/modules/gwin/console/gfxconf.h @@ -52,6 +52,7 @@ /* Features for the GWIN subsystem. */ #define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_CONSOLE TRUE +#define GWIN_CONSOLE_ESCSEQ TRUE #endif /* _GFXCONF_H */ -- cgit v1.2.3 From ccf05de456c5ff1ef4db9757eab5e81be8ae41fb Mon Sep 17 00:00:00 2001 From: inmarket Date: Wed, 5 Mar 2014 13:42:41 +1000 Subject: Update console demo to test more console features. --- demos/modules/gwin/console/gfxconf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'demos/modules/gwin/console/gfxconf.h') diff --git a/demos/modules/gwin/console/gfxconf.h b/demos/modules/gwin/console/gfxconf.h index e1b4db61..9efba8eb 100644 --- a/demos/modules/gwin/console/gfxconf.h +++ b/demos/modules/gwin/console/gfxconf.h @@ -53,6 +53,9 @@ #define GWIN_NEED_WINDOWMANAGER TRUE #define GWIN_NEED_CONSOLE TRUE #define GWIN_CONSOLE_ESCSEQ TRUE +#define GWIN_CONSOLE_USE_HISTORY TRUE +#define GWIN_CONSOLE_HISTORY_AVERAGING TRUE +#define GWIN_CONSOLE_HISTORY_ATCREATE TRUE #endif /* _GFXCONF_H */ -- cgit v1.2.3