Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Arduinio library » Whitespace character for text input

Author: millab
07/08/2019 05:48:04
Hi! I've been playing with your library and really impressed with it.

Just has a question - is there a whitespace character selectable in the text input? I have gone through every character but can't find one.

Where can I find the array of characters to update?

Thanks, Bryn

Author: millab
07/08/2019 06:26:40
Found it! in RuntimeMenuItem.cpp

I added a space and en extra '.' to the start of the array and it is working great!

const char ALLOWABLE_EDIT_CHARACTERS[] PROGMEM = " .0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!\"$%^&*()_-+=@';:#{/?\\|,.<>#{}~";

Author: davetcc
07/08/2019 07:31:21
Thanks for trying TcMenu and reporting back the fix.

I’ve raised an issue for it:

https://github.com/davetcc/tcMenuLib/issues/32

Author: davetcc
18/08/2019 18:56:57
Fix for this was included in 1.3.3. Thanks for the feedback.




Register / Login  |  Desktop view  |  Jump to top of page