Emote support on "e" press

This commit is contained in:
HarukiToreda
2026-02-19 14:44:41 -05:00
parent 2632122495
commit 951b812693
2 changed files with 129 additions and 14 deletions
+4
View File
@@ -155,6 +155,10 @@ class CannedMessageModule : public SinglePortModule, public Observable<const UIF
uint8_t freeTextCompletionCount = 0;
uint8_t freeTextCompletionIndex = 0;
bool freeTextCompletionSuppressed = false;
// When true, the next emote picker selection replaces this typed prefix span.
bool freeTextEmoteReplacePending = false;
unsigned int freeTextEmoteReplaceStart = 0;
unsigned int freeTextEmoteReplaceLength = 0;
// === Message Storage ===
char messageBuffer[CANNED_MESSAGE_MODULE_MESSAGES_SIZE + 1];