summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el
index e53c871..1151291 100644
--- a/chess-gnuchess.el
+++ b/chess-gnuchess.el
@@ -34,6 +34,7 @@
(setq proc (start-process "chess-process" (current-buffer)
(executable-find "gnuchess")))
(message "Starting chess program 'gnuchess'...done")
+ (process-send-string proc "nopost\n")
proc))
((eq event 'shutdown)
@@ -48,7 +49,8 @@
((eq event 'move)
(unless chess-gnuchess-now-moving
- (chess-engine-send nil (concat (chess-ply-to-algebraic (car args)) "\n"))))))
+ (chess-engine-send nil (concat (chess-ply-to-algebraic (car args))
+ "\n"))))))
(provide 'chess-gnuchess)