We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48f064b commit 3d6f045Copy full SHA for 3d6f045
1 file changed
tools/PLAViewer/PLAViewer.cpp
@@ -7,6 +7,7 @@
7
#include <algorithm>
8
9
#include "common-code/ConsoleUtils.h"
10
+#include "common-code/TaskExecution.h"
11
12
namespace fs = std::filesystem;
13
@@ -64,12 +65,7 @@ int main(int argc, char* argv[]) {
64
65
ConsoleUtils::printNewLine();
66
printf("Output file created at: %s\n", fs::absolute(inputSaveGame.stem().string() + ".txt").c_str());
67
- // Exit message for PLAViewer
68
- ConsoleUtils::printNewLine();
69
- printf("Press Enter to exit PLAViewer.\n");
70
- (void)getchar();
71
- ConsoleUtils::clearConsole();
72
-
+ TaskExecution::pressEnterToExit();
73
return 0;
74
75
} // End of namespace fs
0 commit comments