Patch 9.0.0311

3 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 28, 2022, 6:37:52 PM8/28/22
to vim...@googlegroups.com

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 -- 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 ///
Reply all
Reply to author
Forward
0 new messages