diff options
author | Tim Ledbetter <timledbetter@gmail.com> | 2023-04-30 17:05:11 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-05-03 08:31:34 +0100 |
commit | 56dde3df54ae3b2f6fa186e583e13605a668064a (patch) | |
tree | bb31ae0216e6591ec04ae4d49c3acdbfd9addf88 /Userland/Applications/HexEditor | |
parent | 25778d07e986b512aaa87a622cd6efb918b342dc (diff) | |
download | serenity-56dde3df54ae3b2f6fa186e583e13605a668064a.zip |
LibChess+ChessEngine: Don't crash on error when reading UCI commands
ChessEngine and the chess GUI will no longer crash on error while
reading UCI commands. ChessEngine will print a message to the standard
output, while the GUI will ignore unknown commands. Both will print
the error to the debug log if the UCI_DEBUG flag is enabled.
Trailing and preceding whitespace is now stripped from commands before
they are parsed. Commands which are just whitespace no longer produce
errors.
Diffstat (limited to 'Userland/Applications/HexEditor')
0 files changed, 0 insertions, 0 deletions