From 930e497ee9ba5c043e1236ce6683229e3c0f47c0 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 24 May 2017 19:10:54 -0700 Subject: [PATCH] IBM1130: Properly sync GUI info at startup as discussed in #453 --- Ibm1130/ibm1130_gui.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Ibm1130/ibm1130_gui.c b/Ibm1130/ibm1130_gui.c index 3a4616a7..ab08e4d7 100644 --- a/Ibm1130/ibm1130_gui.c +++ b/Ibm1130/ibm1130_gui.c @@ -1720,6 +1720,7 @@ char *read_cmdline (char *ptr, int size, FILE *stream) if ((hCmdThread = CreateThread(NULL, 0, CmdThread, NULL, 0, &iCmdThreadID)) == NULL) scp_panic("Unable to create command line reading thread"); atexit(read_atexit); + Sleep(500); /* Let GUI threads startup and start to process messages */ } update_gui(TRUE);