diff options
author | cbdev <cb@cbcdn.com> | 2020-04-27 20:54:02 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-04-27 20:54:02 +0200 |
commit | f692715444c6ddeb47bf87b53acf46798785290a (patch) | |
tree | 02dcd5892498fda0be8ab0e19f93ba551c4b8e13 /backends/lua.md | |
parent | 929026130c7866d9b70be7a6cc820f103ae241b4 (diff) | |
download | midimonster-f692715444c6ddeb47bf87b53acf46798785290a.tar.gz midimonster-f692715444c6ddeb47bf87b53acf46798785290a.tar.bz2 midimonster-f692715444c6ddeb47bf87b53acf46798785290a.zip |
Allow access to previous value in python handlers
Diffstat (limited to 'backends/lua.md')
-rw-r--r-- | backends/lua.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/lua.md b/backends/lua.md index 4e58ded..b2f40e0 100644 --- a/backends/lua.md +++ b/backends/lua.md @@ -26,8 +26,8 @@ The following functions are provided within the Lua interpreter for interaction | `thread(function)` | `thread(run_show)` | Run a function as a Lua thread (see below) | | `sleep(number)` | `sleep(100)` | Suspend current thread for time specified in milliseconds | -While a channel handler executes, calling `input_value` for that channel returns the previous value. Once -the handler returns, the internal buffer is updated. +While a channel handler executes, calling `input_value` for that channel returns the previous value. +The stored value is updated once the handler returns. Example script: ```lua |