summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ted.h b/ted.h
index 22a8362..8132e1e 100644
--- a/ted.h
+++ b/ted.h
@@ -272,7 +272,9 @@ ENUM_U16 {
} ENUM_U16_END(Menu);
typedef struct {
- char const *name;
+ const char *name;
+ // if not NULL, this will show on the right side of the entry.
+ const char *detail;
u32 color;
} SelectorEntry;
@@ -415,6 +417,7 @@ typedef struct {
typedef struct {
char *name;
+ char *detail;
u32 color;
bool from_lsp;
LSPDocumentPosition position; // only set if from_lsp = true