summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-06-13 21:42:45 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-13 21:42:45 +0100
commit2d12c25a1b73fb6991006fd970b3132ab8ee8b62 (patch)
tree792f7cec3f4beb90fc67ab120ea87e3155c13686 /runtime
parentdb77c49401145d76441fbb3d22a1d7d987681c13 (diff)
patch 8.2.5084: when the GUI shows a dialog tests get stuckv8.2.5084
Problem: When the GUI shows a dialog tests get stuck. Solution: Add the --gui-dialog-file argument.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/starting.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index f50462a56a..aa6fc838ed 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -431,6 +431,13 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
Also avoids the "Reading from stdin..." message.
Also avoids the "N files to edit" message.
+--gui-dialog-file {name} *--gui-dialog-file*
+ When using the GUI, instead of showing a dialog, write the
+ title and message of the dialog to file {name}. The file is
+ careted or appended to. Only useful for testing, to avoid
+ that the test gets stuck on a dialog that can't be seen.
+ Without the GUI the argument is ignored.
+
*--ttyfail*
--ttyfail When the stdin or stdout is not a terminal (tty) then exit
right away.