mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-29 06:24:45 -07:00
Formatting & New updated IR
This commit is contained in:
@@ -24,14 +24,14 @@ static void cligui_tick_event_cb(void* context) {
|
||||
furi_string_push_back(app->text_box_store, c);
|
||||
}
|
||||
}
|
||||
if (available > 0) {
|
||||
if(available > 0) {
|
||||
text_box_set_text(app->text_box, furi_string_get_cstr(app->text_box_store));
|
||||
}
|
||||
// Set input header stuff
|
||||
size_t len = furi_string_size(app->text_box_store);
|
||||
size_t idx = len - 2;
|
||||
while (idx > 0) {
|
||||
if (furi_string_get_char(app->text_box_store, idx) == '\n') {
|
||||
while(idx > 0) {
|
||||
if(furi_string_get_char(app->text_box_store, idx) == '\n') {
|
||||
idx++;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user