When the move the player plays is not in the top X moves list, PGN-Spy has to issue a new search command to discover what the evaluation of a given move actually is. When doing so, it will clear the hash and we need to do the same.
The current CmdSetOption will produce a UCI command of setoption name clear value hash when the command needs to be `setoption name clear hash as per this line.
When the move the player plays is not in the top X moves list, PGN-Spy has to issue a new search command to discover what the evaluation of a given move actually is. When doing so, it will clear the hash and we need to do the same.
The current
CmdSetOption
will produce a UCI command ofsetoption name clear value hash
when the command needs to be`setoption name clear hash
as per this line.This PR adds a new command for clearing the hash.