aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-22 18:15:14 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-22 18:15:14 +0000
commit3ccdef3498fd1bb37c8bedfaa91f0a74047dc26f (patch)
tree11250d7347125ed89cc8fe58c7d982f15bf6968c /config.h
parentrender: implement cursor styles 'bar' and 'underline' (diff)
conf: make cursor's default style configurable
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h b/config.h
index 0db93269..85ce15c1 100644
--- a/config.h
+++ b/config.h
@@ -3,6 +3,8 @@
#include <stdint.h>
#include <stdbool.h>
+#include "terminal.h"
+
struct config {
char *term;
char *shell;
@@ -14,6 +16,10 @@ struct config {
uint32_t regular[8];
uint32_t bright[8];
} colors;
+
+ struct {
+ enum cursor_style style;
+ } cursor;
};
bool config_load(struct config *conf);