diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-03-18 22:42:19 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-03-18 22:42:19 -0300 |
commit | 608d709fa0878cbc4ff7386badc81fdfcc66234a (patch) | |
tree | fc861fa278e095a38d4b39bb9ac736321446b6da /src/nvim/ui.c | |
parent | a0f2961b4fc2beabf1266faef0f543afdffd45f8 (diff) | |
parent | 4d63d9917482a7d7a002bf7688233a675b76cd3e (diff) | |
download | rneovim-608d709fa0878cbc4ff7386badc81fdfcc66234a.tar.gz rneovim-608d709fa0878cbc4ff7386badc81fdfcc66234a.tar.bz2 rneovim-608d709fa0878cbc4ff7386badc81fdfcc66234a.zip |
Merge PR #2182 'Improve ui/busy handling and early input reading'
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 2189021d22..443b50da87 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -45,7 +45,7 @@ static struct { } sr; static int current_attr_code = 0; static bool pending_cursor_update = false; -static int busy = 1; +static int busy = 0; static int height, width; // This set of macros allow us to use UI_CALL to invoke any function on @@ -155,7 +155,6 @@ void ui_busy_start(void) { if (!(busy++)) { UI_CALL(busy_start); - ui_flush(); } } @@ -163,11 +162,9 @@ void ui_busy_stop(void) { if (!(--busy)) { UI_CALL(busy_stop); - ui_flush(); } } - void ui_mouse_on(void) { UI_CALL(mouse_on); |