diff options
Diffstat (limited to 'Lua API.html')
| -rw-r--r-- | Lua API.html | 3 |
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> |
