1
0
forked from aniani/vim

patch 8.2.5084: when the GUI shows a dialog tests get stuck

Problem:    When the GUI shows a dialog tests get stuck.
Solution:   Add the --gui-dialog-file argument.
This commit is contained in:
Bram Moolenaar
2022-06-13 21:42:45 +01:00
parent db77c49401
commit 2d12c25a1b
15 changed files with 111 additions and 18 deletions

View File

@@ -676,7 +676,10 @@ display_errors(void)
for (p = (char *)error_ga.ga_data; *p; ++p)
if (!isspace(*p))
{
(void)gui_mch_dialog(
// Only use a dialog when not using --gui-dialog-file:
// write text to a file.
if (!gui_dialog_log((char_u *)"Errors", p))
(void)gui_mch_dialog(
gui.starting ? VIM_INFO :
VIM_ERROR,
gui.starting ? (char_u *)_("Message") :