summaryrefslogtreecommitdiff
path: root/Lua API.html
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-06-21 21:26:25 +0400
committerAlexander Gavrilov2012-06-21 21:26:25 +0400
commit752da9ced5ce2df8cc9638cbf75a769325540e31 (patch)
tree0bbf1c817e4c3f663bfe06e2ab3f2c05262952ff /Lua API.html
parentf207714d4225e729fa43d04048d595ad6954521d (diff)
downloaddfhack-752da9ced5ce2df8cc9638cbf75a769325540e31.tar.gz
dfhack-752da9ced5ce2df8cc9638cbf75a769325540e31.tar.bz2
dfhack-752da9ced5ce2df8cc9638cbf75a769325540e31.tar.xz
Move formatting newly-found globals for symbols.xml to lua code.
Diffstat (limited to 'Lua API.html')
-rw-r--r--Lua API.html3
1 files changed, 2 insertions, 1 deletions
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.</p>
<p>Same as println; intended for errors. Uses red color and logs to stderr.log.</p>
</li>
<li><p class="first"><tt class="docutils literal"><span class="pre">dfhack.color([color])</span></tt></p>
-<p>Sets the current output color. If color is <em>nil</em> or <em>-1</em>, resets to default.</p>
+<p>Sets the current output color. If color is <em>nil</em> or <em>-1</em>, resets to default.
+Returns the previous color value.</p>
</li>
<li><p class="first"><tt class="docutils literal">dfhack.is_interactive()</tt></p>
<p>Checks if the thread can access the interactive console and returns <em>true</em> or <em>false</em>.</p>