diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-21 08:58:09 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-21 08:58:09 +0000 |
| commit | 29d855d7c6930bd6c42a0d9f01f466e4602834d8 (patch) | |
| tree | 18b4d98ec9f946a65bbce72f24bab7a9ba71f4da /csi.c | |
| parent | osc: add TODO (diff) | |
term: prepare for configurable colors; add color variables to terminal
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -111,8 +111,8 @@ static void sgr_reset(struct terminal *term) { memset(&term->vt.attrs, 0, sizeof(term->vt.attrs)); - term->vt.attrs.foreground = term->foreground; - term->vt.attrs.background = term->background; + term->vt.attrs.foreground = term->colors.fg; + term->vt.attrs.background = term->colors.bg; } static const char * |
