Rename plugins to external

This commit is contained in:
Willy-JL
2023-03-17 22:50:23 +00:00
parent b3c64d0428
commit b34a4f2468
1706 changed files with 15 additions and 15 deletions

View File

@@ -0,0 +1,12 @@
#include "console_output.h"
void console_output_input_handler(CliguiApp* app, InputEvent* event) {
if(event->type == InputTypeShort && (event->key == InputKeyOk || event->key == InputKeyLeft)) {
view_dispatcher_switch_to_view(app->view_dispatcher, ViewTextInput);
app->data->state = ViewTextInput;
}
if(event->type == InputTypeShort && event->key == InputKeyBack) {
char eot = 0x03;
furi_stream_buffer_send(app->data->streams.app_tx, &eot, 1, FuriWaitForever);
}
}