Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added utf8.encode | hryx | 2013-12-31 | 1 | -0/+35 |
| | | | | | | | Here's a function that takes a Unicode code point and returns the corresponding UTF-8 encoded character bytes. Example: utf8.encode(0x265c) -- returns '♜' Please feel free to edit or revert if it's not your style. It might not be relevant to Quickie, though it's a handy UTF-8 utility. | ||||
* | [utf8.la] Add license, documentation. | Matthias Richter | 2013-12-11 | 1 | -0/+63 |
| | |||||
* | Fix bug in input.lua, make 0.9-ready, add utf8 editing | Matthias Richter | 2013-12-11 | 1 | -0/+70 |
1) [input.lua] Pressing backspace while the cursor was at the beggining of the text removed the first character. Fixed thanks to riidom. 2) [LÖVE 0.9] Use setLine(Width|Style) instead of setLine. Split keyboard.pressed() into keyboard.pressed() and keyboard.textinput(). (see readme) 3) [utf8.lua] Add support for UTF-8 text editing. May still fail spectacurlarly with invalid UTF-8 strings. |