- fix: ConsolePaurser.exe only exits when press ENTER
This commit is contained in:
parent
62a73a27dd
commit
1b523408dc
3
NEWS.md
3
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
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
using std::string;
|
||||
#include <stdio.h>
|
||||
#include <windows.h>
|
||||
#include <conio.h>
|
||||
|
||||
#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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue