aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-02-28 06:24:23 -0500
committerGitHub <noreply@github.com>2023-02-28 06:24:23 -0500
commit3b927762264c27aaeb31b83ba2e4924d5312ddcc (patch)
tree0c8252f2636b84b8387cfbe1754bb7a6928bd4ca /src/nvim/ui.h
parenta87b52d328d5f78965d6eaff7efab7b63069bdc0 (diff)
parentce597235a26839826de88ecd8b949ec54c310fbd (diff)
downloadrneovim-3b927762264c27aaeb31b83ba2e4924d5312ddcc.tar.gz
rneovim-3b927762264c27aaeb31b83ba2e4924d5312ddcc.tar.bz2
rneovim-3b927762264c27aaeb31b83ba2e4924d5312ddcc.zip
Merge #22382 has('gui_running')
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r--src/nvim/ui.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h
index e83f93eb07..dc0ccc73ea 100644
--- a/src/nvim/ui.h
+++ b/src/nvim/ui.h
@@ -103,6 +103,13 @@ struct ui_t {
double pum_height;
double pum_width;
+ // TUI fields.
+ char *term_name;
+ char *term_background;
+ int term_colors;
+ bool stdin_tty;
+ bool stdout_tty;
+
// TODO(bfredl): integrate into struct!
UIData data[1];
};