Fix Clang build (nw)

This commit is contained in:
AJR 2016-10-09 10:42:04 -04:00
parent 3c4c4e08ed
commit 327304ddb8

View File

@ -2296,7 +2296,7 @@ int InputBuffer::incrementalHistorySearch(PromptBase& pi, int startChar) {
historyLinePosition);
}
fprintf(stdout, "\n");
std::exit(0);
exit(0);
//#endif
// these characters update the search string, and hence the selected input
@ -2938,7 +2938,7 @@ int InputBuffer::getInputLine(PromptBase& pi) {
//if (!pi.write()) break; // Redraw prompt
//refreshLine(pi); // Refresh the line
fprintf(stdout,"\n");
std::exit(0);
exit(0);
//break;
//#endif