aboutsummaryrefslogtreecommitdiff
path: root/examples/readline.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat(readkey): allow a sleep function to be passedfeat/fsleepThijs Schreijer2025-03-011-1/+5
| | | | | | 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.
* add system.CODEPAGE_UTF8 for 65001 codepageThijs Schreijer2024-06-191-1/+1
|
* cleanup and documentationThijs Schreijer2024-05-231-21/+17
|
* add example for reading a line from the terminal, non-blockingThijs Schreijer2024-05-201-0/+476
Handles utf8, and character width