summaryrefslogtreecommitdiff
path: root/chess-ics.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-ics.el')
-rw-r--r--chess-ics.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/chess-ics.el b/chess-ics.el
index cd72142..e4d4464 100644
--- a/chess-ics.el
+++ b/chess-ics.el
@@ -178,6 +178,10 @@ who is black."
nil))
+ ((eq event 'match)
+ (setq chess-engine-pending-offer 'match)
+ (chess-engine-send nil (format "match %s\n" (car args))))
+
((eq event 'move)
(unless chess-ics-ensure-ics12
(comint-send-string (get-buffer-process (current-buffer))