Browser: Focus input text field in JS console by default

This commit is contained in:
Nico Weber 2020-07-22 21:19:34 -04:00 committed by Andreas Kling
commit 107db38a51
Notes: sideshowbarker 2024-07-19 04:39:58 +09:00
2 changed files with 7 additions and 0 deletions

View file

@ -165,4 +165,8 @@ void ConsoleWidget::clear_output()
m_output_view->update();
}
void ConsoleWidget::focusin_event(Core::Event&)
{
m_input->set_focus(true);
}
}