bufferedinput
A direct port of one of my Python libraries. Handles keypresses with a buffer and has a callback for each press.
| read(?) | Read a string, and call the callback each letter, with the buffer as an argument. |
|---|
- read(?)Source
Read a string, and call the callback each letter, with the buffer as an argument.
Parameters
- ? { allowKeyboardInterrupt? =
boolean, limit? =number, callback? =function}
- ? { allowKeyboardInterrupt? =