aboutsummaryrefslogtreecommitdiff
path: root/plugins/smallclock.lua
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2021-08-17 11:26:18 -0230
committerGitHub <noreply@github.com>2021-08-17 11:26:18 -0230
commit9689846686f77dc0aa1e6f4d31fbfc42998c2085 (patch)
treeb187286f2ed78fa9317f288dc0c5144840bcdad9 /plugins/smallclock.lua
parent44659ba00207cecd90412b714e53c2a1b7233fb9 (diff)
parenta42a0d57b08a9080ed9fd8fa84f1269e3847980f (diff)
downloadlite-xl-plugins-9689846686f77dc0aa1e6f4d31fbfc42998c2085.tar.gz
lite-xl-plugins-9689846686f77dc0aa1e6f4d31fbfc42998c2085.zip
Merge branch 'master' into 2.0
Diffstat (limited to 'plugins/smallclock.lua')
-rw-r--r--plugins/smallclock.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/smallclock.lua b/plugins/smallclock.lua
index 3ab9e4a..b22bc71 100644
--- a/plugins/smallclock.lua
+++ b/plugins/smallclock.lua
@@ -9,7 +9,7 @@ core.add_thread(function()
while true do
local t = os.date("*t")
time = string.format("%02d:%02d", t.hour, t.min)
- coroutine.yield()
+ coroutine.yield(1)
end
end)