aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-06-09 05:37:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-06-10 05:11:45 +0000
commit33eefa7b45c2d20750f5788dfdcc1008cf33ca47 (patch)
treecefa7a41f60050df3cfd9687cf2ea1cc412f3762 /terminal.h
parentquirks: remove subsurface unmap quirk for Sway (diff)
term+input: refactor: move theme switching into term_theme_* functions
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 3122cef3..88371b07 100644
--- a/terminal.h
+++ b/terminal.h
@@ -984,7 +984,9 @@ 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);
+void term_theme_switch_to_1(struct terminal *term);
+void term_theme_switch_to_2(struct terminal *term);
+void term_theme_toggle(struct terminal *term);
static inline void term_reset_grapheme_state(struct terminal *term)
{