clear screen before running user shell command

This commit is contained in:
Gered 2020-07-18 17:05:42 -04:00
parent c1e76aef82
commit 972be491c3

View file

@ -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(