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.c | |
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.c')
-rw-r--r-- | src/nvim/ui.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 5c8e9380db..81da88c54a 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -138,14 +138,6 @@ void ui_builtin_start(void) #endif } -/// Immediately after VimEnter event. -void ui_builtin_after_startup(void) -{ -#ifdef FEAT_TUI - UI_CALL(after_startup); -#endif -} - void ui_builtin_stop(void) { UI_CALL(stop); |