Christian Brabandt wrote:

> On Di, 31 Jan 2017, Bram Moolenaar wrote:
> 
> > Patch 8.0.0275
> > Problem:    When checking for CTRL-C typed the GUI may detect a screen 
> > resize
> >             and redraw the screen, causing trouble.
> > Solution:   Set updating_screen in ui_breakcheck().
> > Files:      src/ui.c
> 
> Either this patch or 274¹ breaks :simalt command on windows. Use
> :simalt ~x and notice how the screen will be correctly resized but the 
> actual drawn window looks like before. A :redraw fixes that issue.
> 
> Note: patch 299 does not fix the issue.
> 
> I looked into the source, but it's not obvious to me how to fix this. 
> 
> ¹I checked from the repository here. vim/vim-win32-installer There are 
> only releases for 273 and 275 and the bug started happening with the 275 
> release.

Is this in the GUI or in the console?

I suppose the resize callback is invoked shen checking for input, and
then the screen update isn't reached.  Perhaps inserting <Nop> in the
input queue would help?

-- 
What a wonderfully exciting cough!  Do you mind if I join you?
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// 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