fix(unittests): fix TUI broken test previously ignored

This commit is contained in:
bfredl
2023-01-18 13:59:40 +01:00
parent 847a1507aa
commit 6bfbb4db1d
5 changed files with 13 additions and 16 deletions

View File

@@ -84,8 +84,8 @@ void ui_client_run(bool remote_ui)
if (term) {
PUT(opts, "term_name", STRING_OBJ(cstr_to_string(term)));
}
if (ui_client_bg_respose != kNone) {
bool is_dark = (ui_client_bg_respose == kTrue);
if (ui_client_bg_response != kNone) {
bool is_dark = (ui_client_bg_response == kTrue);
PUT_C(opts, "term_background", STRING_OBJ(cstr_as_string(is_dark ? "dark" : "light")));
}
PUT_C(opts, "term_colors", INTEGER_OBJ(t_colors));