diff options
author | Yatao Li <yatli@microsoft.com> | 2020-03-03 18:17:37 +0800 |
---|---|---|
committer | Yatao Li <yatli@microsoft.com> | 2020-04-28 01:53:05 +0800 |
commit | 6da16ac931eec7be2487ee98e7f605fa12b0171d (patch) | |
tree | 3835e1fee5c75f5f54c0cbc6f23ef5ccefe1c37a /src/nvim/ui.h | |
parent | 9c85caa390ccf6295233c4201a60ccfa66417816 (diff) | |
download | rneovim-6da16ac931eec7be2487ee98e7f605fa12b0171d.tar.gz rneovim-6da16ac931eec7be2487ee98e7f605fa12b0171d.tar.bz2 rneovim-6da16ac931eec7be2487ee98e7f605fa12b0171d.zip |
external pum: use floating point geometry; typval: add tv_dict_add_float
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r-- | src/nvim/ui.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h index b3a569b0df..d00243d35f 100644 --- a/src/nvim/ui.h +++ b/src/nvim/ui.h @@ -53,12 +53,12 @@ struct ui_t { bool ui_ext[kUIExtCount]; ///< Externalized UI capabilities. int width; int height; - int pum_nlines; /// actual nr. lines shown in PUM - bool pum_pos; /// UI reports back pum position? - int pum_row; - int pum_col; - int pum_height; - int pum_width; + int pum_nlines; /// actual nr. lines shown in PUM + bool pum_pos; /// UI reports back pum position? + double pum_row; + double pum_col; + double pum_height; + double pum_width; void *data; #ifdef INCLUDE_GENERATED_DECLARATIONS |