add new scripts

This commit is contained in:
Evgeny
2021-08-04 12:35:47 +03:00
parent 9cf08efa2a
commit 89998604e9
4 changed files with 86 additions and 22 deletions

8
coroutines-test.lua Normal file
View File

@@ -0,0 +1,8 @@
local co = coroutine.create(function()
ui:show_text("Hello world!")
end)
function on_resume()
ui:set_title(coroutine.status(co))
coroutine.resume(co)
end