diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-27 19:50:06 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-27 19:50:06 +0100 |
| commit | 7be95e7bcd38b506afbb2e8a0c59cf2f5ded4f3a (patch) | |
| tree | fa1fdcf123add30d0f7557d92edc5b0a2161e6c5 | |
| parent | cce0131c30a1f5fb4e3930dc03091bf238d9e80e (diff) | |
Debug quit command
| -rw-r--r-- | src/UCI.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/UCI.cpp b/src/UCI.cpp index 7318f81..ebb8eb5 100644 --- a/src/UCI.cpp +++ b/src/UCI.cpp @@ -237,7 +237,9 @@ void UCI::debug(bool d) { } } void UCI::ponderhit() { Command("ponderhit"); } -void UCI::quit() { Command("quit"); } +void UCI::quit() { + p->Write(cmd + "\n"); // Note that we should no do a sync! +} void UCI::ucinewgame() { Command("ucinewgame"); } void UCI::position(std::string fen, std::string moves) { position(fen + " moves " + moves); |
