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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220828214703.423CE1C07CD%40moolenaar.net.

Raspunde prin e-mail lui