mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00
vim-patch:8.1.1970: search stat space wrong, no test for 8.1.1965
Problem: Search stat space wrong, no test for 8.1.1965.
Solution: Fix check for cmd_silent. Add a test. (Christian Brabandt)
19e8ac72e9
This commit is contained in:
@@ -1198,7 +1198,7 @@ int do_search(
|
||||
// msg_strtrunc() will shorten in the middle.
|
||||
if (ui_has(kUIMessages)) {
|
||||
len = 0; // adjusted below
|
||||
} else if (msg_scrolled != 0 || cmd_silent) {
|
||||
} else if (msg_scrolled != 0 && !cmd_silent) {
|
||||
// Use all the columns.
|
||||
len = (Rows - msg_row) * Columns - 1;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user