Rastislav Barlik wrote:

> What about moving 'RedrawingDisabled = 0' below the the 
> may_req_ambiguous_char_width()?
> 
> That fixes the issue for me as well.
> 
> diff --git i/src/main.c w/src/main.c
> index 883c9cc23..43215508e 100644
> --- i/src/main.c
> +++ w/src/main.c
> @@ -783,7 +783,6 @@ vim_main2(void)
>      if (params.n_commands > 0)
>         exe_commands(&params);
>  
> -    RedrawingDisabled = 0;
>      redraw_all_later(NOT_VALID);
>      no_wait_return = FALSE;
>      starting = 0;
> @@ -802,6 +801,8 @@ vim_main2(void)
>      may_req_bg_color();
>  #endif
>  
> +    RedrawingDisabled = 0;
> +
>      /* start in insert mode */
>      if (p_im)
>         need_start_insertmode = TRUE;

Interesting idea.  I suppose this will work, since we don't do much
before the main loop.

-- 
I have read and understood the above. X________________

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui