diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-21 09:34:45 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-21 09:34:45 +0000 |
| commit | 07b3e7606205c79c74a39b3ad6e2c91c60699ebc (patch) | |
| tree | b2636e6e5ee897a1e6821141577475f9f0f6512d /terminal.h | |
| parent | osc: add TODO (diff) | |
| parent | csi: pick 16 first 256-colors directly from the term struct (diff) | |
Merge branch 'config-color'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -259,8 +259,17 @@ struct terminal { bool print_needs_wrap; struct scroll_region scroll_region; - uint32_t foreground; - uint32_t background; + struct { + uint32_t fg; + uint32_t bg; + uint32_t regular[8]; + uint32_t bright[8]; + + uint32_t default_fg; + uint32_t default_bg; + uint32_t default_regular[8]; + uint32_t default_bright[8]; + } colors; struct { int col; |
