diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2025-03-01 19:17:17 +0100 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2025-03-02 19:40:15 +0100 |
commit | 2981db32130b30c9b12e7347bfdbe2e7584e9274 (patch) | |
tree | 9dc1330b743b9f4aed15d92c8036a5a41024fc87 /CHANGELOG.md | |
parent | bdd02cba9ffa1eee3684063b46091f2f868b32b8 (diff) | |
download | luasystem-2981db32130b30c9b12e7347bfdbe2e7584e9274.tar.gz luasystem-2981db32130b30c9b12e7347bfdbe2e7584e9274.tar.bz2 luasystem-2981db32130b30c9b12e7347bfdbe2e7584e9274.zip |
feat(readkey): allow a sleep function to be passed
There are cases where both a blocking and non-blocking sleep is
needed. In those cases just poatching system.sleep isn't good
enough. Hence now we can pass a sleep function.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d95d9f..af9a294 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -32,6 +32,7 @@ The scope of what is covered by the version number excludes: | |||
32 | 32 | ||
33 | - Feat: when detecting character display width, also accept unicode codepoints (integers), | 33 | - Feat: when detecting character display width, also accept unicode codepoints (integers), |
34 | since the Lua utf8 library returns codepoints, not strings | 34 | since the Lua utf8 library returns codepoints, not strings |
35 | - Feat: allow passing in a sleep function to `readkey` and `readansi` | ||
35 | - Fix: NetBSD fix compilation, undeclared directives | 36 | - Fix: NetBSD fix compilation, undeclared directives |
36 | - Refactor: random bytes; remove deprecated API usage on Windows, move to | 37 | - Refactor: random bytes; remove deprecated API usage on Windows, move to |
37 | binary api instead of /dev/urandom file on linux and bsd | 38 | binary api instead of /dev/urandom file on linux and bsd |