summaryrefslogtreecommitdiff
path: root/chess-ics.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-ics.el')
-rw-r--r--chess-ics.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/chess-ics.el b/chess-ics.el
index f6fea32..cd47b44 100644
--- a/chess-ics.el
+++ b/chess-ics.el
@@ -198,6 +198,9 @@ who is black."
((eq event 'resign)
(chess-engine-send nil "resign\n"))
+ ((eq event 'abort)
+ (chess-engine-send nil "abort\n"))
+
((eq event 'send)
(comint-send-string (get-buffer-process (current-buffer)) (car args)))))