From f0605c697de6959cb5b7e3162e06bb32ba79c13b Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Fri, 1 Mar 2019 13:23:44 +0100 Subject: [PATCH] private.h: helper for testing escape codes on terminology's binary --- src/bin/private.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/bin/private.h b/src/bin/private.h index c4e93e7..a4905b1 100644 --- a/src/bin/private.h +++ b/src/bin/private.h @@ -18,6 +18,14 @@ extern int terminology_starting_up; +/* Uncommenting the following enables processing of testing escape codes in + * the normal 'terminology' binary. + * This is only useful to write tests + */ +#if !defined(ENABLE_FUZZING) && !defined(ENABLE_TESTS) +//#define ENABLE_TEST_UI +#endif + #if defined(ENABLE_FUZZING) || defined(ENABLE_TESTS) #define EINA_LOG_LEVEL_MAXIMUM (-1) #endif