diff --git a/NEWS.md b/NEWS.md index 55c01dc7..8f6a0dbd 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,6 @@ +Version 0.8.1 For Dev-C++ 7 Beta + - fix: ConsolePaurser.exe only exits when press ENTER + Version 0.8 For Dev-C++ 7 Beta - fix: find in the current file is not correcly saved in the search history - fix: hit info not correctly displayed in the search result view diff --git a/tools/ConsolePauser/main.cpp b/tools/ConsolePauser/main.cpp index f4677676..6eef0780 100644 --- a/tools/ConsolePauser/main.cpp +++ b/tools/ConsolePauser/main.cpp @@ -5,6 +5,7 @@ using std::string; #include #include +#include #define MAX_COMMAND_LENGTH 32768 #define MAX_ERROR_LENGTH 2048 @@ -61,8 +62,8 @@ void PauseExit(int exitcode, bool reInp) { freopen("CONIN$","r",stdin); } printf("\n"); - printf("Press ANY key to continue...\n"); - getchar(); + printf("Press ANY key to exit...\n"); + getch(); if (reInp) { CloseHandle(hInp); }