aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 518e36ef..45e13925 100644
--- a/terminal.h
+++ b/terminal.h
@@ -405,6 +405,7 @@ struct colors {
uint32_t selection_fg;
uint32_t selection_bg;
bool use_custom_selection;
+ enum { COLOR_THEME1, COLOR_THEME2 } active_theme;
};
struct terminal {
@@ -982,6 +983,8 @@ void term_enable_size_notifications(struct terminal *term);
void term_disable_size_notifications(struct terminal *term);
void term_send_size_notification(struct terminal *term);
+void term_theme_apply(struct terminal *term, const struct color_theme *theme);
+
static inline void term_reset_grapheme_state(struct terminal *term)
{
#if defined(FOOT_GRAPHEME_CLUSTERING)