chiark / gitweb /
terminal/screen: add color converter
[elogind.git] / src / libsystemd-terminal / term.h
index 5228ce0601f8a3144f8fee426a69f5f108d0eae4..8efd48b2632cf22124c9362048412299a2a1927e 100644 (file)
@@ -97,6 +97,8 @@ struct term_attr {
         unsigned int hidden : 1;                /* hidden */
 };
 
+void term_attr_to_argb32(const term_attr *attr, uint32_t *fg, uint32_t *bg, const uint8_t *palette);
+
 /*
  * UTF-8
  */