commit 5ff55cf269b4ab52658f97ed989eb45701db50df
Author: Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Sat Sep 20 20:46:01 2025 -0600
Commit: Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Sat Sep 20 20:46:01 2025 -0600
add new one off character options
Unsure if my tests are thorough
---
source/printHelper.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/source/printHelper.cpp b/source/printHelper.cpp
index a80befe..a6ce33f 100644
--- a/source/printHelper.cpp
+++ b/source/printHelper.cpp
@@ -317,9 +317,11 @@ int print(std::string str, int x, int y, uint8_t c) {
printMode |= PRINT_MODE_ON;
printMode |= PRINT_MODE_SOLID_BG;
}
- else if (commandChar == ':' || commandChar == '.'){
+ else if (commandChar == ':' || commandChar == ';' || commandChar == '.' || commandChar == ','){
+ //the docs say ';' and ',' should respect padding, but in my testing
+ //it looks like they behave exactly the same... /shrug
charHeight = forceCharHeight > 0 ? forceCharHeight : 8;
- if (commandChar == ':') {
+ if (commandChar == ':' || commandChar == ';') {
std::string hexStr = str.substr(n+1, 16);
n+=16;
hexStrToBytes(hexStr, charBytes);