From 752da9ced5ce2df8cc9638cbf75a769325540e31 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Thu, 21 Jun 2012 21:26:25 +0400 Subject: Move formatting newly-found globals for symbols.xml to lua code. --- Lua API.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Lua API.html') diff --git a/Lua API.html b/Lua API.html index 84d13e2f..1c4dc405 100644 --- a/Lua API.html +++ b/Lua API.html @@ -734,7 +734,8 @@ works with DFHack output infrastructure.
Same as println; intended for errors. Uses red color and logs to stderr.log.
dfhack.color([color])
-Sets the current output color. If color is nil or -1, resets to default.
+Sets the current output color. If color is nil or -1, resets to default. +Returns the previous color value.
dfhack.is_interactive()
Checks if the thread can access the interactive console and returns true or false.
-- cgit v1.2.1