ref: 2066ddabd64ca9047ccc2c1071b38df14ec14ee0
parent: 3633fec8ae2178782a59136049c1552c9c331556
author: Simon Tatham <[email protected]>
date: Tue Jun 10 13:24:09 EDT 2008
Just noticed that the return value of midend_process_key() wasn't documented. [originally from svn r8062]
--- a/devel.but
+++ b/devel.but
@@ -2671,6 +2671,11 @@
front end's drawing API and/or \cw{activate_timer()}
(\k{frontend-activate-timer}).
+The return value from \cw{midend_process_key()} is non-zero, unless
+the effect of the keypress was to request termination of the
+program. A front end should shut down the puzzle in response to a
+zero return.
+
\H{midend-colours} \cw{midend_colours()}
\c float *midend_colours(midend *me, int *ncolours);