Skip to content

Commit 7f5e0b0

Browse files
committed
feat(UI): console input focused on show for USB keyboards
1 parent 888c567 commit 7f5e0b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/UI/Screens/Console/ConsoleView.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ namespace UI
354354
ZoneScoped;
355355
m_commandList.scrollToX(0, LV_ANIM_OFF);
356356
m_outputCont.scrollByBounded(0, -m_outputCont.getScrollBottom(), LV_ANIM_ON);
357+
lv_group_focus_obj(
358+
m_input.getRootPtr()); // make USB keyboards focus the input without the user having to tap it first
357359
m_kb.hide();
358360
updateBtnPos();
359361
}

0 commit comments

Comments
 (0)