Hi Bram!

On Di, 28 Feb 2017, Bram Moolenaar wrote:

> 
> 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 noticed in the GUI. I checked again for the console, but it seems 
:simalt is not available on console vim.

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

perhaps. I tried various redraw_later()/update_screen() calls, but those 
did not work. Any particular toy patch I could try?

Best,
Christian

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