summaryrefslogtreecommitdiff
path: root/src/terminal_ui.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-03-29 13:35:42 +1100
committerMaxime Coste <mawww@kakoune.org>2021-07-12 10:25:58 +1000
commitb0dcb07540a54b3ea132d43e4ae796878fad8ed8 (patch)
tree24c2736c63e801ad765ebc17b1b0b2924779767a /src/terminal_ui.hh
parent63310370f80121c804766a528a3ca450b21d59d7 (diff)
Reduce amount of SGR escapes emitted by tracking the active face
Diffstat (limited to 'src/terminal_ui.hh')
-rw-r--r--src/terminal_ui.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/terminal_ui.hh b/src/terminal_ui.hh
index 85a5081f..fbdba862 100644
--- a/src/terminal_ui.hh
+++ b/src/terminal_ui.hh
@@ -89,7 +89,10 @@ private:
struct Screen : Window
{
void output(bool force);
+ void set_face(const Face& face);
+
Vector<size_t> hashes;
+ Face m_active_face;
};
Window m_window;