Small bugfix: produce the right CSI sequence when reporting the theme to the terminal application.

This commit is contained in:
Jonathan Slenders
2025-02-28 09:14:40 +00:00
parent b3d3a37e5e
commit 49d84e8df5

View File

@@ -1908,7 +1908,7 @@ window_pane_send_theme_update(struct window_pane *wp)
input_key_pane(wp, KEYC_REPORT_LIGHT_THEME, NULL); input_key_pane(wp, KEYC_REPORT_LIGHT_THEME, NULL);
break; break;
case THEME_DARK: case THEME_DARK:
input_key_pane(wp, KEYC_REPORT_LIGHT_THEME, NULL); input_key_pane(wp, KEYC_REPORT_DARK_THEME, NULL);
break; break;
case THEME_UNKNOWN: case THEME_UNKNOWN:
break; break;