From 34b11c33ff5b0df5466642b577bf32b529fc66fd Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Wed, 27 May 2015 20:58:07 -0400 Subject: add colorized html output --- src/globals.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/globals.h') diff --git a/src/globals.h b/src/globals.h index bb5450e..6403327 100644 --- a/src/globals.h +++ b/src/globals.h @@ -28,6 +28,7 @@ #define ARG_NOCURSES (1<<3) #define ARG_BATCHMODE (1<<4) #define ARG_RESTRICTED (1<<5) +#define ARG_HTML (1<<6) /* don't change this, it will corrupt existing saves */ #define EPOCH_YEAR 2000 @@ -94,6 +95,7 @@ struct command_t { /*** prototypes ***/ extern bool have_color; +extern bool html_out; /* restricted mode disables things that would be considered "dangerous" when used in a web-facing script such as interactive loading/saving */ -- cgit v1.1