least disruptive fix to the EOF problem
This commit is contained in:
parent
d885ee5043
commit
e62e703505
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ void cliThreadProc()
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
std::cout << "ERROR: Can't set num of voices!\n";
|
std::cout << "ERROR: Can't set num of voices!\n";
|
||||||
}
|
}
|
||||||
} else if (kw == "quit") {
|
} else if (kw == "quit" || !std::cin) {
|
||||||
shouldClose = true;
|
shouldClose = true;
|
||||||
} else if (kw.size() > 0) {
|
} else if (kw.size() > 0) {
|
||||||
std::cout << "ERROR: Unknown command '" << kw << "'!\n";
|
std::cout << "ERROR: Unknown command '" << kw << "'!\n";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue