aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-27 16:14:16 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-27 16:14:16 +0000
commitabe6a4f212e69c0f027f6ec0906822f448129777 (patch)
tree3dd05ae23678c36d441d4b272265f63a6726e18a /osc.c
parentmain: tag fdm loop with likely() and unlikely() (diff)
parentterm: split cursor blink state into two (diff)
Merge branch 'split-cursor-blink-state'
Closes #218
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/osc.c b/osc.c
index bf0fff7e..f89becfd 100644
--- a/osc.c
+++ b/osc.c
@@ -8,6 +8,7 @@
#define LOG_ENABLE_DBG 0
#include "log.h"
#include "base64.h"
+#include "config.h"
#include "grid.h"
#include "render.h"
#include "selection.h"
@@ -663,8 +664,8 @@ osc_dispatch(struct terminal *term)
case 112:
LOG_DBG("resetting cursor color");
- term->cursor_color.text = term->default_cursor_color.text;
- term->cursor_color.cursor = term->default_cursor_color.cursor;
+ term->cursor_color.text = term->conf->cursor.color.text;
+ term->cursor_color.cursor = term->conf->cursor.color.cursor;
term_damage_cursor(term);
break;