File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,13 @@ The scope of what is covered by the version number excludes:
2727
2828## Version history
2929
30+ ### version x.x.x, unreleased
31+
32+ - Fix: maximum key-delay, reduced from 0.2 to 0.1 seconds to reduce slugginess feel on some key presses.
33+
3034### version 0.6.2, released 15-Apr-2025
3135
32- - Fix: autotermrestore didn't work because its metatable was overwritten.
36+ - Fix: autotermrestore didn't work because its metatable was overwritten.
3337
3438### version 0.6.1, released 13-Apr-2025
3539
Original file line number Diff line number Diff line change 239239do
240240 --- Reads a single byte from the console, with a timeout.
241241 -- This function uses `fsleep` to wait until either a byte is available or the timeout is reached.
242- -- The sleep period is exponentially backing off, starting at 0.0125 seconds, with a maximum of 0.2 seconds.
242+ -- The sleep period is exponentially backing off, starting at 0.0125 seconds, with a maximum of 0.1 seconds.
243243 -- It returns immediately if a byte is available or if `timeout` is less than or equal to `0`.
244244 --
245245 -- Using `system.readansi` is preferred over this function. Since this function can leave stray/invalid
263263 return nil , err
264264 end
265265 timeout = timeout - interval
266- interval = math.min (0.2 , interval * 2 )
266+ interval = math.min (0.1 , interval * 2 )
267267 key = system ._readkey ()
268268 end
269269
You can’t perform that action at this time.
0 commit comments