Patch 7.4.1817
Problem:    The screen is not updated if a callback is invoked when closing a
            channel.
Solution:   Invoke redraw_after_callback().
Files:      src/channel.c


*** ../vim-7.4.1816/src/channel.c       2016-05-01 14:22:12.363965120 +0200
--- src/channel.c       2016-05-04 21:21:00.511455759 +0200
***************
*** 2494,2499 ****
--- 2494,2500 ----
                           &rettv, 1, argv, 0L, 0L, &dummy, TRUE,
                           channel->ch_close_partial, NULL);
              clear_tv(&rettv);
+             channel_need_redraw = TRUE;
          }
          --channel->ch_refcount;
  
***************
*** 2503,2508 ****
--- 2504,2515 ----
          partial_unref(channel->ch_close_partial);
          channel->ch_close_partial = NULL;
  
+         if (channel_need_redraw)
+         {
+             channel_need_redraw = FALSE;
+             redraw_after_callback();
+         }
+ 
          /* any remaining messages are useless now */
          for (part = PART_SOCK; part <= PART_ERR; ++part)
              drop_messages(channel, part);
*** ../vim-7.4.1816/src/version.c       2016-05-01 23:05:49.674360477 +0200
--- src/version.c       2016-05-04 21:22:01.286802107 +0200
***************
*** 755,756 ****
--- 755,758 ----
  {   /* Add new patch number below this line */
+ /**/
+     1817,
  /**/

-- 
Living on Earth includes an annual free trip around the Sun.

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