mirror of
https://gitlab.com/manzerbredes/uciadapter.git
synced 2025-04-07 02:26:26 +02:00
Debug quit() command
This commit is contained in:
parent
7be95e7bcd
commit
e5e8205758
1 changed files with 2 additions and 1 deletions
|
@ -238,7 +238,8 @@ void UCI::debug(bool d) {
|
||||||
}
|
}
|
||||||
void UCI::ponderhit() { Command("ponderhit"); }
|
void UCI::ponderhit() { Command("ponderhit"); }
|
||||||
void UCI::quit() {
|
void UCI::quit() {
|
||||||
p->Write(cmd + "\n"); // Note that we should no do a sync!
|
// Note that calling Command() will fail (because of Sync())
|
||||||
|
p->Write("quit\n");
|
||||||
}
|
}
|
||||||
void UCI::ucinewgame() { Command("ucinewgame"); }
|
void UCI::ucinewgame() { Command("ucinewgame"); }
|
||||||
void UCI::position(std::string fen, std::string moves) {
|
void UCI::position(std::string fen, std::string moves) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue