Mercurial > vim
comparison src/drawscreen.c @ 29946:af2564a6da5b v9.0.0311
patch 9.0.0311: test for hit-Enter prompt fails
Commit: https://github.com/vim/vim/commit/926218b5dad0dcdc273ccd92436a72f038d222c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 28 23:36:52 2022 +0100
patch 9.0.0311: test for hit-Enter prompt fails
Problem: Test for hit-Enter prompt fails.
Solution: Only reset cmdline_row when 'cmdheight' is zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 29 Aug 2022 00:45:03 +0200 |
parents | 991bec040ce9 |
children | 451ec8a09a63 |
comparison
equal
deleted
inserted
replaced
29945:3ddfeb5fd870 | 29946:af2564a6da5b |
---|---|
829 // If handle_drop() was called while updating_screen was TRUE need to | 829 // If handle_drop() was called while updating_screen was TRUE need to |
830 // handle the drop now. | 830 // handle the drop now. |
831 handle_any_postponed_drop(); | 831 handle_any_postponed_drop(); |
832 #endif | 832 #endif |
833 | 833 |
834 // in case it was changed in dont_use_message_window() | 834 if (p_ch == 0) |
835 cmdline_row = Rows - p_ch; | 835 // in case it was changed in dont_use_message_window() |
836 cmdline_row = Rows; | |
836 } | 837 } |
837 | 838 |
838 /* | 839 /* |
839 * Update all windows that are editing the current buffer. | 840 * Update all windows that are editing the current buffer. |
840 */ | 841 */ |