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 -- [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/20220728115456.CF7731C0A17%40moolenaar.net.

Raspunde prin e-mail lui