aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tui
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-01-18 13:59:40 +0100
committerbfredl <bjorn.linse@gmail.com>2023-01-18 14:56:55 +0100
commit6bfbb4db1d3708ce4ea69d29f3afe73def5a9f2a (patch)
tree9df924bab7c1a37d65b364597ea7544a8e9e434b /src/nvim/tui
parent847a1507aaf0877cda253ee4fdcb036fcd67816b (diff)
downloadrneovim-6bfbb4db1d3708ce4ea69d29f3afe73def5a9f2a.tar.gz
rneovim-6bfbb4db1d3708ce4ea69d29f3afe73def5a9f2a.tar.bz2
rneovim-6bfbb4db1d3708ce4ea69d29f3afe73def5a9f2a.zip
fix(unittests): fix TUI broken test previously ignored
Diffstat (limited to 'src/nvim/tui')
-rw-r--r--src/nvim/tui/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/tui/input.c b/src/nvim/tui/input.c
index 5325ae3e4d..2cb39ab26b 100644
--- a/src/nvim/tui/input.c
+++ b/src/nvim/tui/input.c
@@ -655,7 +655,7 @@ static HandleState handle_background_color(TermInput *input)
bool is_dark = luminance < 0.5;
char *bgvalue = is_dark ? "dark" : "light";
DLOG("bg response: %s", bgvalue);
- ui_client_bg_respose = is_dark ? kTrue : kFalse;
+ ui_client_bg_response = is_dark ? kTrue : kFalse;
set_bg(bgvalue);
input->waiting_for_bg_response = 0;
} else if (!done && !bad) {