diff --git a/lua_docs.md b/lua_docs.md index 098000c..f04a920 100644 --- a/lua_docs.md +++ b/lua_docs.md @@ -25,6 +25,10 @@ Returns the active `kiwmi_output`. See `request_active_output`. +#### kiwmi:bg_color(color) + +Sets the background color (shown behind all views) to `color` (in the format #rrggbb). + #### kiwmi:cursor() Returns a reference to the cursor object. @@ -45,10 +49,6 @@ Used to register event listeners. Quit kiwmi. -#### kiwmi:bg_color(color) - -Sets the background color (shown behind all views) to `color` (in the format #rrggbb). - #### kiwmi:schedule(delay, callback) Call `callback` after `delay` ms. @@ -240,6 +240,10 @@ Used to register event listeners. Get the position of the output. Returns two parameters: `x` and `y`. +#### output:redraw() + +Force the output to redraw. Useful e.g. when you know the view `pre_render`/`post_render` callbacks are going to change. + #### output:size() Get the size of the output.