diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-02-03 20:11:31 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-02-02 16:31:49 +0100 |
commit | 31cbd34d9724922026a5ae00846ce8105605df5d (patch) | |
tree | 34d4076660cfa48f0a2cd1a896f69e27f484135e /src/nvim/ui_compositor.h | |
parent | 894f6bee54e80811f95b8767327d39ab277a4866 (diff) | |
download | rneovim-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_compositor.h')
-rw-r--r-- | src/nvim/ui_compositor.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/ui_compositor.h b/src/nvim/ui_compositor.h new file mode 100644 index 0000000000..b3780db532 --- /dev/null +++ b/src/nvim/ui_compositor.h @@ -0,0 +1,12 @@ +// Bridge for communication between a UI thread and nvim core. +// Used by the built-in TUI and libnvim-based UIs. +#ifndef NVIM_UI_COMPOSITOR_H +#define NVIM_UI_COMPOSITOR_H + +#include "nvim/ui.h" +#include "nvim/event/defs.h" + +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "ui_compositor.h.generated.h" +#endif +#endif // NVIM_UI_COMPOSITOR_H |