conf: make cursor's default style configurable

This commit is contained in:
Daniel Eklöf 2019-07-22 20:15:14 +02:00
parent ed5df194b8
commit 3ccdef3498
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 48 additions and 1 deletions

View file

@ -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);