aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.h
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-02-03 20:11:31 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2019-02-02 16:31:49 +0100
commit31cbd34d9724922026a5ae00846ce8105605df5d (patch)
tree34d4076660cfa48f0a2cd1a896f69e27f484135e /src/nvim/ui.h
parent894f6bee54e80811f95b8767327d39ab277a4866 (diff)
downloadrneovim-31cbd34d9724922026a5ae00846ce8105605df5d.tar.gz
rneovim-31cbd34d9724922026a5ae00846ce8105605df5d.tar.bz2
rneovim-31cbd34d9724922026a5ae00846ce8105605df5d.zip
UI: add "compositor" layer to merge grids for TUI use in a correct way
Initially we will use this for the popupmenu, floating windows will follow soon NB: writedelay + compositor is weird, we need more flexible redraw introspection.
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r--src/nvim/ui.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h
index 16237214cb..8aeb632f6d 100644
--- a/src/nvim/ui.h
+++ b/src/nvim/ui.h
@@ -36,6 +36,7 @@ typedef struct ui_t UI;
struct ui_t {
bool rgb;
+ bool composed;
bool ui_ext[kUIExtCount]; ///< Externalized widgets
int width, height;
void *data;
@@ -44,14 +45,6 @@ struct ui_t {
# include "ui_events.generated.h"
#endif
- // For perfomance and simplicity, we use the dense screen representation
- // in the bridge and the TUI. The remote_ui module will translate this
- // in to the public grid_line format.
- void (*raw_line)(UI *ui, Integer grid, Integer row, Integer startcol,
- Integer endcol, Integer clearcol, Integer clearattr,
- Boolean wrap, const schar_T *chunk, const sattr_T *attrs);
- void (*event)(UI *ui, char *name, Array args, bool *args_consumed);
- void (*stop)(UI *ui);
void (*inspect)(UI *ui, Dictionary *info);
};