[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 

Whitespace character for text input RSS feed
Forum Index » tcMenu Arduinio library
Author Message
millab


Joined: Aug 7, 2019
Messages: 5
Offline
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
millab


Joined: Aug 7, 2019
Messages: 5
Offline
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!\"$%^&*()_-+=@';:#{/?\\|,.<>#{}~";
davetcc


Joined: Jan 19, 2019
Messages: 362
Offline
Thanks for trying TcMenu and reporting back the fix.

I’ve raised an issue for it:

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


Joined: Jan 19, 2019
Messages: 362
Offline
Fix for this was included in 1.3.3. Thanks for the feedback.
 
Forum Index » tcMenu Arduinio library
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer