Mercurial > vim
comparison src/ex_getln.c @ 29956:451ec8a09a63 v9.0.0316
patch 9.0.0316: screen flickers when 'cmdheight' is zero
Commit: https://github.com/vim/vim/commit/f73e5ba56f4aca1cd6e38f1c8ea24e941bf6b33f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 29 12:41:06 2022 +0100
patch 9.0.0316: screen flickers when 'cmdheight' is zero
Problem: Screen flickers when 'cmdheight' is zero.
Solution: Redraw over existing text instead of clearing.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 29 Aug 2022 13:45:03 +0200 |
parents | b366b19d1a3e |
children | 4fcf816aa806 |
comparison
equal
deleted
inserted
replaced
29955:1251b5181693 | 29956:451ec8a09a63 |
---|---|
2580 if (cmdheight0) | 2580 if (cmdheight0) |
2581 { | 2581 { |
2582 made_cmdheight_nonzero = TRUE; | 2582 made_cmdheight_nonzero = TRUE; |
2583 set_option_value((char_u *)"ch", 0L, NULL, 0); | 2583 set_option_value((char_u *)"ch", 0L, NULL, 0); |
2584 // Redraw is needed for command line completion | 2584 // Redraw is needed for command line completion |
2585 redraw_all_later(UPD_CLEAR); | 2585 redraw_all_later(UPD_NOT_VALID); |
2586 made_cmdheight_nonzero = FALSE; | 2586 made_cmdheight_nonzero = FALSE; |
2587 } | 2587 } |
2588 | 2588 |
2589 --depth; | 2589 --depth; |
2590 if (did_save_ccline) | 2590 if (did_save_ccline) |