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.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.c')
-rw-r--r-- | src/nvim/ui.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index dc38c061b0..3e5bfba315 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -623,7 +623,10 @@ Array ui_array(void) // TUI fields. (`stdin_fd` is intentionally omitted.) PUT(info, "term_name", CSTR_TO_OBJ(ui->term_name)); - PUT(info, "term_background", CSTR_TO_OBJ(ui->term_background)); + + // term_background is deprecated. Populate with an empty string + PUT(info, "term_background", CSTR_TO_OBJ("")); + PUT(info, "term_colors", INTEGER_OBJ(ui->term_colors)); PUT(info, "stdin_tty", BOOLEAN_OBJ(ui->stdin_tty)); PUT(info, "stdout_tty", BOOLEAN_OBJ(ui->stdout_tty)); |