pokitto / PokittoLib

Library for making programs on Pokitto hardware
22 stars 16 forks source link

More fixes to keyboard method #161

Closed wuuff closed 1 year ago

wuuff commented 1 year ago

The fixes include: -The display persistence setting is now saved and restored to its previous value instead of being disabled every time the method is called -The cursor is moved to the end of the input string, allowing for pre-existing strings to be edited -The cursor is now correctly constrained within the string (to length-1 to ensure there is always room for a terminating null; it didn't allow the final byte to be overwritten previously, but the cursor could invisibly be moved one byte past the end)