summaryrefslogtreecommitdiff
path: root/chess-ics.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-10 23:55:13 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-10 23:55:13 +0000
commita0769011c2a98841156559aa37978156766cc09f (patch)
tree407832c3c0fac049e9e7d567614894cc47e76f3c /chess-ics.el
parent5fbbfaf36f1dc7da3c7539568fe473bbf079c513 (diff)
Added support for aborting a game. Use A or N from a display.
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)))))