Mercurial > vim
comparison src/ui.c @ 13888:81e8e6181aeb v8.0.1815
patch 8.0.1815: crash with terminal window and with 'lazyredraw' set
commit https://github.com/vim/vim/commit/0cb8ac71ae42f66d525ad855db01361ca38d935a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 11 22:01:51 2018 +0200
patch 8.0.1815: crash with terminal window and with 'lazyredraw' set
Problem: Still a crash with terminal window and with 'lazyredraw' set.
(Antoine)
Solution: Do not wipe out the buffer when updating the screen.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 11 May 2018 22:15:06 +0200 |
parents | 156ebdcb8ef5 |
children | 193471015e1a |
comparison
equal
deleted
inserted
replaced
13887:f5a2d0eb9926 | 13888:81e8e6181aeb |
---|---|
413 gui_mch_update(); | 413 gui_mch_update(); |
414 else | 414 else |
415 #endif | 415 #endif |
416 mch_breakcheck(force); | 416 mch_breakcheck(force); |
417 | 417 |
418 updating_screen = save_us; | 418 if (save_us) |
419 updating_screen = save_us; | |
420 else | |
421 reset_updating_screen(FALSE); | |
419 } | 422 } |
420 | 423 |
421 /***************************************************************************** | 424 /***************************************************************************** |
422 * Functions for copying and pasting text between applications. | 425 * Functions for copying and pasting text between applications. |
423 * This is always included in a GUI version, but may also be included when the | 426 * This is always included in a GUI version, but may also be included when the |