diff options
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 8 |
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]; |