[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 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

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: 686
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: 686
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

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.