To: vim_dev@googlegroups.com Subject: Patch 9.0.0100 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///