diff options
author | Francesco <francesco.bbt@gmail.com> | 2021-07-15 00:00:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 00:00:42 +0200 |
commit | 69d1d5f6da76b06f03aa08ba84bf686ba1844545 (patch) | |
tree | 866cda535f12392902d633026aa7ae0d513f9186 | |
parent | 2f1c6d8a1dc2a5a44fc6a0781c551ca50211a769 (diff) | |
parent | 5415cd9d07522fbdff23a69ebc0d9eccc26821b3 (diff) | |
download | lite-xl-plugins-69d1d5f6da76b06f03aa08ba84bf686ba1844545.tar.gz lite-xl-plugins-69d1d5f6da76b06f03aa08ba84bf686ba1844545.zip |
Merge pull request #47 from B14CK313/master
Fixed smallclock plugin eating cpu
-rw-r--r-- | plugins/smallclock.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/smallclock.lua b/plugins/smallclock.lua index 8742b07..5c76160 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) |