From 37ee9519c7d49333ac2b59cfeb825ec771fc20ce Mon Sep 17 00:00:00 2001 From: michi84o Date: Mon, 1 Jun 2020 17:45:09 +0200 Subject: [PATCH] Changed output formatting. --- pprio.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pprio.cpp b/pprio.cpp index 35a95db..29b9925 100644 --- a/pprio.cpp +++ b/pprio.cpp @@ -40,7 +40,7 @@ int main(int argc, char* argv[]) { std::cout << "You can specify a program name by using the command line parameter '-p'." << std::endl; std::cout << "For example:" << std::endl; - std::cout << "\tpprio -p Discord.exe" << std::endl << std::endl; + std::cout << "\tpprio -p Discord.exe" << std::endl; std::cout << "Since you didn't do that, what program do you like to monitor?" << std::endl; std::cin >> processName; @@ -50,6 +50,7 @@ int main(int argc, char* argv[]) std::cout << "You did not input anything, please try again or press Ctrl+C to exit:" << std::endl; std::cin >> processName; } + std::cout << std::endl; } if (abortProgram) return -1; @@ -60,7 +61,7 @@ int main(int argc, char* argv[]) if (boost) prioValue = HIGH_PRIORITY_CLASS; - std::cout << std::endl << "Monitoring '"<< processName << "'" << std::endl << std::endl; + std::cout << "Monitoring '"<< processName << "'" << std::endl << std::endl; std::cout << "Target priority: " << prio << std::endl << std::endl; HANDLE stdHandle = GetStdHandle(STD_OUTPUT_HANDLE);