mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-10 01:29:59 +00:00
fix multiline err on ctrl+c
This commit is contained in:
parent
81a75fdebe
commit
353e991eb1
1 changed files with 6 additions and 0 deletions
|
|
@ -85,6 +85,11 @@ main(int argc, char * argv[])
|
|||
|
||||
string CurrentCommand = "";
|
||||
|
||||
//
|
||||
// Clear multiline
|
||||
//
|
||||
Reset = true;
|
||||
|
||||
GetMultiLinecCommand:
|
||||
|
||||
string TempCommand = "";
|
||||
|
|
@ -94,6 +99,7 @@ main(int argc, char * argv[])
|
|||
if (cin.fail() || cin.eof())
|
||||
{
|
||||
cin.clear(); // reset cin state
|
||||
|
||||
printf("\n\n");
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue