summaryrefslogtreecommitdiff
path: root/ted-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'ted-base.c')
-rw-r--r--ted-base.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ted-base.c b/ted-base.c
index 8771f02..784bbe9 100644
--- a/ted-base.c
+++ b/ted-base.c
@@ -4,10 +4,6 @@ typedef struct {
i64 argument;
} KeyAction;
-typedef struct {
- u32 colors[COLOR_COUNT];
-} Settings;
-
#define SCANCODE_COUNT 0x120 // SDL scancodes should be less than this value.
// a "key combo" is some subset of {control, shift, alt} + some key.
#define KEY_COMBO_COUNT (SCANCODE_COUNT << 3)
@@ -21,6 +17,7 @@ typedef struct {
typedef struct {
TextBuffer *active_buffer;
+ Settings settings;
KeyAction key_actions[KEY_COMBO_COUNT];
char error[256];
} Ted;