1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

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
parent 79a5ba58a5
commit 107db38a51
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);
}
}