diff --git a/applications/services/gui/modules/text_input.c b/applications/services/gui/modules/text_input.c index fc6be55a6..d076d118e 100644 --- a/applications/services/gui/modules/text_input.c +++ b/applications/services/gui/modules/text_input.c @@ -606,8 +606,10 @@ static bool text_input_view_ascii_callback(AsciiEvent* event, void* context) { model->cursor_pos = CLAMP(model->cursor_pos + 1, strlen(model->text_buffer), 0u); } else { - model->cursor_pos = - CLAMP(model->cursor_pos - 1, strlen(model->text_buffer), 0u); + if(model->cursor_pos > 0) { + model->cursor_pos = + CLAMP(model->cursor_pos - 1, strlen(model->text_buffer), 0u); + } } }, true);