aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sam.c b/sam.c
index 95b2690..b232726 100644
--- a/sam.c
+++ b/sam.c
@@ -302,6 +302,7 @@ enum {
OPTION_COLOR_COLUMN,
OPTION_HORIZON,
OPTION_SAVE_METHOD,
+ OPTION_CHANGE_256COLORS,
};
static const OptionDef options[] = {
@@ -385,6 +386,12 @@ static const OptionDef options[] = {
OPTION_TYPE_STRING, OPTION_FLAG_WINDOW,
"Save method to use for current file 'auto', 'atomic' or 'inplace'",
},
+ [OPTION_CHANGE_256COLORS] = {
+ { "change-256colors" },
+ OPTION_TYPE_BOOL, OPTION_FLAG_NONE,
+ "Change 256 color palette to support 24bit colors",
+ },
+
};
bool sam_init(Vis *vis) {