mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-10 23:28:10 -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;
|
||||
}
|
||||
|
||||
@@ -9,5 +9,4 @@ void console_output_input_handler(CliguiApp* app, InputEvent* event) {
|
||||
char eot = 0x03;
|
||||
furi_stream_buffer_send(app->data->streams.app_tx, &eot, 1, FuriWaitForever);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -88,7 +88,6 @@ typedef struct {
|
||||
void* pubsub;
|
||||
} Loader_internal;
|
||||
|
||||
|
||||
typedef struct {
|
||||
CliCallback callback;
|
||||
void* context;
|
||||
|
||||
Reference in New Issue
Block a user