Patch 9.0.0310
Problem: Output of :messages dissappears when cmdheight is zero.
Solution: Do not use the messages window for :messages. Make Esc close the
messages window.
Files: src/message.c, src/normal.c
*** ../vim-9.0.0309/src/message.c 2022-08-28 22:17:46.294785790 +0100
--- src/message.c 2022-08-28 22:32:29.539034042 +0100
***************
*** 1077,1082 ****
--- 1077,1083 ----
}
msg_hist_off = TRUE;
+ dont_use_message_window();
p = first_msg_hist;
if (eap->addr_count != 0)
*** ../vim-9.0.0309/src/normal.c 2022-08-25 16:02:09.681816465 +0100
--- src/normal.c 2022-08-28 22:35:33.107075002 +0100
***************
*** 6820,6826 ****
redraw_curbuf_later(UPD_INVERTED);
}
else if (no_reason)
! vim_beep(BO_ESC);
clearop(cap->oap);
// A CTRL-C is often used at the start of a menu. When 'insertmode' is
--- 6820,6833 ----
redraw_curbuf_later(UPD_INVERTED);
}
else if (no_reason)
! {
! #ifdef HAS_MESSAGE_WINDOW
! if (popup_message_win_visible())
! popup_hide_message_win();
! else
! #endif
! vim_beep(BO_ESC);
! }
clearop(cap->oap);
// A CTRL-C is often used at the start of a menu. When 'insertmode' is
*** ../vim-9.0.0309/src/version.c 2022-08-28 22:20:57.342719954 +0100
--- src/version.c 2022-08-28 22:33:18.651048145 +0100
***************
*** 709,710 ****
--- 709,712 ----
{ /* Add new patch number below this line */
+ /**/
+ 310,
/**/
--
The chat program is in public domain. This is not the GNU public license.
If it breaks then you get to keep both pieces.
-- Copyright notice for the chat program
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///