mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
Browser: Focus input text field in JS console by default
This commit is contained in:
parent
79a5ba58a5
commit
107db38a51
Notes:
sideshowbarker
2024-07-19 04:39:58 +09:00
Author: https://github.com/nico
Commit: 107db38a51
Pull-request: https://github.com/SerenityOS/serenity/pull/2859
2 changed files with 7 additions and 0 deletions
|
@ -165,4 +165,8 @@ void ConsoleWidget::clear_output()
|
|||
m_output_view->update();
|
||||
}
|
||||
|
||||
void ConsoleWidget::focusin_event(Core::Event&)
|
||||
{
|
||||
m_input->set_focus(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue