diff options
author | Gregory Anders <greg@gpanders.com> | 2023-11-07 11:31:21 -0600 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2023-11-13 19:04:47 -0600 |
commit | 8d9789a0f3b748b75ac4ae1b8e43d27af40d49fe (patch) | |
tree | 5872a66135c1250a32da15b981bb36118e58d347 /src/nvim/ui_client.c | |
parent | ab102f188e86bdbfce1d4de2ef633092a906e8fe (diff) | |
download | rneovim-8d9789a0f3b748b75ac4ae1b8e43d27af40d49fe.tar.gz rneovim-8d9789a0f3b748b75ac4ae1b8e43d27af40d49fe.tar.bz2 rneovim-8d9789a0f3b748b75ac4ae1b8e43d27af40d49fe.zip |
docs: deprecate the "term_background" UI field
Diffstat (limited to 'src/nvim/ui_client.c')
-rw-r--r-- | src/nvim/ui_client.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/ui_client.c b/src/nvim/ui_client.c index dac690822b..2f91257a5d 100644 --- a/src/nvim/ui_client.c +++ b/src/nvim/ui_client.c @@ -84,10 +84,7 @@ void ui_client_attach(int width, int height, char *term) if (term) { PUT_C(opts, "term_name", CSTR_AS_OBJ(term)); } - if (ui_client_bg_response != kNone) { - bool is_dark = (ui_client_bg_response == kTrue); - PUT_C(opts, "term_background", CSTR_AS_OBJ(is_dark ? "dark" : "light")); - } + PUT_C(opts, "term_colors", INTEGER_OBJ(t_colors)); if (!ui_client_is_remote) { PUT_C(opts, "stdin_tty", BOOLEAN_OBJ(stdin_isatty)); |