Patch 9.0.0311
Problem:    Test for hit-Enter prompt fails.
Solution:   Only reset cmdline_row when 'cmdheight' is zero.
Files:      src/drawscreen.c


*** ../vim-9.0.0310/src/drawscreen.c    2022-08-28 22:20:57.342719954 +0100
--- src/drawscreen.c    2022-08-28 23:31:52.740102833 +0100
***************
*** 831,838 ****
      handle_any_postponed_drop();
  #endif
  
!     // in case it was changed in dont_use_message_window()
!     cmdline_row = Rows - p_ch;
  }
  
  /*
--- 831,839 ----
      handle_any_postponed_drop();
  #endif
  
!     if (p_ch == 0)
!       // in case it was changed in dont_use_message_window()
!       cmdline_row = Rows;
  }
  
  /*
*** ../vim-9.0.0310/src/version.c       2022-08-28 22:46:17.455056755 +0100
--- src/version.c       2022-08-28 23:36:40.943458830 +0100
***************
*** 709,710 ****
--- 709,712 ----
  {   /* Add new patch number below this line */
+ /**/
+     311,
  /**/

-- 
A year spent in artificial intelligence is enough to make one
believe in God.

 /// 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/20220828223741.903751C07CD%40moolenaar.net.

Raspunde prin e-mail lui