mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-02 01:40:13 -05:00
conf: make cursor's default style configurable
This commit is contained in:
parent
ed5df194b8
commit
3ccdef3498
5 changed files with 48 additions and 1 deletions
6
config.h
6
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue