Patch 9.0.0100

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 28, 2022, 7:55:06 AM7/28/22
to vim...@googlegroups.com

Patch 9.0.0100
Problem: Get hit-enter prompt for system() when '!' is in 'guioptions'.
Solution: Do not call wait_return() when not redrawing. (closes #3327)
Files: src/os_unix.c


*** ../vim-9.0.0099/src/os_unix.c 2022-06-20 15:01:18.000000000 +0100
--- src/os_unix.c 2022-07-28 12:50:29.301654929 +0100
***************
*** 4522,4528 ****
// restore curwin/curbuf and a few other things
aucmd_restbuf(&aco);

! wait_return(TRUE);
do_buffer(DOBUF_WIPE, DOBUF_FIRST, FORWARD, buf->b_fnum, TRUE);

theend:
--- 4522,4531 ----
// restore curwin/curbuf and a few other things
aucmd_restbuf(&aco);

! // only require pressing Enter when redrawing, to avoid that system() gets
! // the hit-enter prompt even though it didn't output anything.
! if (!RedrawingDisabled)
! wait_return(TRUE);
do_buffer(DOBUF_WIPE, DOBUF_FIRST, FORWARD, buf->b_fnum, TRUE);

theend:
*** ../vim-9.0.0099/src/version.c 2022-07-28 12:34:06.527917764 +0100
--- src/version.c 2022-07-28 12:53:02.801980248 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 100,
/**/

--
hundred-and-one symptoms of being an internet addict:
168. You have your own domain name.

/// 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