From 972be491c31c9c5a465ac1aa4e0d84e4e0667fc6 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 18 Jul 2020 17:05:42 -0400 Subject: [PATCH] clear screen before running user shell command --- con_dosx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/con_dosx.cpp b/con_dosx.cpp index 7fe7d6d..431eac4 100644 --- a/con_dosx.cpp +++ b/con_dosx.cpp @@ -1116,6 +1116,7 @@ int GUI::RunProgram(int mode, char *Command) { ConQuerySize(&W, &H); ConHideMouse(); ConSuspend(); + ::ConClear(); if (*Command == 0) // empty string = shell Command = getenv(