From f75e1100aab6bae75ea70a22094cde9ee6d5b1eb Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 24 Sep 2016 13:34:36 +0100 Subject: [PATCH] Updated doc/api.md for love.errhand() --- doc/api.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/api.md b/doc/api.md index 51d1c7e..f70932b 100644 --- a/doc/api.md +++ b/doc/api.md @@ -279,7 +279,6 @@ Called when the user releases a mouse button. `x` and `y` are the mouse's current position. `button` is the value `1` (left), `2` (right) or `3` (middle). ##### love.errhand(err) -Called when an unprotected error occurs in any of the callback functions; `err` -is the error message. Setting this function overrides the default error -behaviour of resetting the VGA mode, printing the error and exiting the -program. +Called when an unprotected error occurs; `err` is the error message. By default +this function displays the error message and stacktrace on screen and waits for +the `escape` key to be pressed before exiting.