From 6060daaee163918f97af4db09bba9a7f9272d6c1 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 14 May 2023 19:01:28 +0100 Subject: Add --print-index option. --- src/entry.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/entry.h') diff --git a/src/entry.h b/src/entry.h index 35d2302..e314a8a 100644 --- a/src/entry.h +++ b/src/entry.h @@ -18,6 +18,12 @@ #define MAX_FONT_FEATURES_LENGTH 128 #define MAX_FONT_VARIATIONS_LENGTH 128 +enum tofi_mode { + TOFI_MODE_PLAIN, + TOFI_MODE_RUN, + TOFI_MODE_DRUN +}; + enum cursor_style { CURSOR_STYLE_BAR, CURSOR_STYLE_BLOCK, @@ -90,7 +96,7 @@ struct entry { uint32_t clip_height; /* Options */ - bool drun; + enum tofi_mode mode; bool horizontal; bool hide_input; char hidden_character_utf8[6]; -- cgit v1.2.3