[vte] sixel: Use m_defaults to retrieve the SGR colours



commit ecc6ec0cd563be1b54536e2adca512bd9a692f2a
Author: Christian Persch <chpe src gnome org>
Date:   Sat Nov 14 12:08:21 2020 +0100

    sixel: Use m_defaults to retrieve the SGR colours
    
    This takes into account the SGR 7 (reverse) attribute, which
    m_color_defaults doesn't carry.

 src/vteseq.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vteseq.cc b/src/vteseq.cc
index 88869c13..9826ce0f 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -4451,7 +4451,7 @@ Terminal::DECSIXEL(vte::parser::Sequence const& seq)
 
         auto fore = unsigned{}, back = unsigned{};
         auto fg = vte::color::rgb{}, bg = vte::color::rgb{};
-        resolve_normal_colors(&m_color_defaults, &fore, &back, fg, bg);
+        resolve_normal_colors(&m_defaults, &fore, &back, fg, bg);
 
         try {
                 if (!m_sixel_context)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]