summaryrefslogtreecommitdiff
path: root/src/display_buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/display_buffer.hh')
-rw-r--r--src/display_buffer.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/display_buffer.hh b/src/display_buffer.hh
index ef00a19b..3879a31e 100644
--- a/src/display_buffer.hh
+++ b/src/display_buffer.hh
@@ -110,15 +110,14 @@ private:
struct DisplayAtom
{
- Color fg_color;
- Color bg_color;
+ ColorPair colors;
Attribute attribute;
AtomContent content;
DisplayAtom(AtomContent content)
- : content(std::move(content)), attribute(Normal),
- fg_color(Color::Default), bg_color(Color::Default) {}
+ : content{std::move(content)}, attribute{Normal},
+ colors{Color::Default, Color::Default} {}
};
class DisplayLine