0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0296: message in popup is shortened unnecessary

Problem:    Message in popup is shortened unnecessary.
Solution:   Do not use 'showcmd' and 'ruler' for a message in the popup.
            Set the timer when unhiding the message popup.
This commit is contained in:
Bram Moolenaar
2022-08-28 14:39:53 +01:00
parent 00d4ceecca
commit 35a4fbc5d0
5 changed files with 39 additions and 3 deletions

View File

@@ -206,7 +206,11 @@ msg_strtrunc(
&& !exmode_active && msg_silent == 0) || force)
{
len = vim_strsize(s);
if (msg_scrolled != 0)
if (msg_scrolled != 0
#ifdef HAS_MESSAGE_WINDOW
|| use_message_window()
#endif
)
// Use all the columns.
room = (int)(Rows - msg_row) * Columns - 1;
else
@@ -3719,7 +3723,11 @@ msg_end(void)
void
msg_check(void)
{
if (msg_row == Rows - 1 && msg_col >= sc_col)
if (msg_row == Rows - 1 && msg_col >= sc_col
#ifdef HAS_MESSAGE_WINDOW
&& !use_message_window()
#endif
)
{
need_wait_return = TRUE;
redraw_cmdline = TRUE;