diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-12-11 23:05:36 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-12-13 22:17:39 +0100 |
commit | 6b51c72e0cc99c6c03c521f77793028cf63afd45 (patch) | |
tree | 8d99fc28882dca17d57cabdbf0158d24d9a1883b /src/nvim/ui.h | |
parent | 6203c23449cfdf8fb09c33d3ab267703d57123fa (diff) | |
download | rneovim-6b51c72e0cc99c6c03c521f77793028cf63afd45.tar.gz rneovim-6b51c72e0cc99c6c03c521f77793028cf63afd45.tar.bz2 rneovim-6b51c72e0cc99c6c03c521f77793028cf63afd45.zip |
tui: rework deferred-termcodes implementation
Try another approach to defer the termcodes. Seems less janky, but still
not perfect.
ref #7664
ref #7649
ref #7664
ref 27f9b1c7b029d8
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r-- | src/nvim/ui.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h index f1ea0716e6..84d17e9ec2 100644 --- a/src/nvim/ui.h +++ b/src/nvim/ui.h @@ -31,13 +31,12 @@ struct ui_t { bool ui_ext[UI_WIDGETS]; ///< Externalized widgets int width, height; void *data; - #ifdef INCLUDE_GENERATED_DECLARATIONS # include "ui_events.generated.h" #endif - void (*event)(UI *ui, char *name, Array args, bool *args_consumed); void (*stop)(UI *ui); + void (*after_startup)(UI *ui); }; #ifdef INCLUDE_GENERATED_DECLARATIONS |