docs: deprecate the "term_background" UI field

This commit is contained in:
Gregory Anders
2023-11-07 11:31:21 -06:00
parent ab102f188e
commit 8d9789a0f3
10 changed files with 13 additions and 30 deletions

View File

@@ -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));