Do not send theme unless it has changed, and do not send immediately

when updates are enabled. GitHub issue 5787.
This commit is contained in:
nicm
2026-01-06 20:05:57 +00:00
parent 035a2f35d4
commit f226804149
4 changed files with 36 additions and 24 deletions

View File

@@ -314,12 +314,6 @@ static struct input_key_entry input_key_defaults[] = {
{ .key = KEYC_DC|KEYC_BUILD_MODIFIERS,
.data = "\033[3;_~"
},
{ .key = KEYC_REPORT_DARK_THEME,
.data = "\033[?997;1n"
},
{ .key = KEYC_REPORT_LIGHT_THEME,
.data = "\033[?997;2n"
},
};
static const key_code input_key_modifiers[] = {
0,