summaryrefslogtreecommitdiff
path: root/src/entry.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2023-05-14 19:01:28 +0100
committerPhil Jones <philj56@gmail.com>2023-05-14 19:03:44 +0100
commit6060daaee163918f97af4db09bba9a7f9272d6c1 (patch)
tree853139b0373c3673fd7b50cc684f46f0f852b692 /src/entry.h
parentdcc12cb8845e52943fbc6d42ec86f3b0acf80b76 (diff)
Add --print-index option.
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h8
1 files changed, 7 insertions, 1 deletions
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];