diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-12-12 20:41:25 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-12-13 22:18:25 +0100 |
commit | ed92ece815e1f32259b3f0397476ff6ac92726e3 (patch) | |
tree | 5fa2c1231f2afe287f17eef9894dbba96c6637f4 /src/nvim/ui.h | |
parent | 6b51c72e0cc99c6c03c521f77793028cf63afd45 (diff) | |
download | rneovim-ed92ece815e1f32259b3f0397476ff6ac92726e3.tar.gz rneovim-ed92ece815e1f32259b3f0397476ff6ac92726e3.tar.bz2 rneovim-ed92ece815e1f32259b3f0397476ff6ac92726e3.zip |
tui: defer termcodes using a timer
With this implementation there is no "jank" during startup.
Using the main_loop in any fashion is janky. Using only the TUI loop
emits the termcodes too soon, or requires bad hacks like counting
tui_flush invocations (9 seems to work).
ref #7664
ref #7649
ref #7664
ref 27f9b1c7b029d8
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r-- | src/nvim/ui.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h index 84d17e9ec2..0e40a1a215 100644 --- a/src/nvim/ui.h +++ b/src/nvim/ui.h @@ -36,7 +36,6 @@ struct ui_t { #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 |