mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:18:13 +00:00
HackStudio: Bring up the console when doing a "build" or "run"
We most likely want to see what comes out on the console when starting one of these actions.
This commit is contained in:
parent
84a2208b5c
commit
deabc7e13b
1 changed files with 2 additions and 0 deletions
|
@ -142,11 +142,13 @@ int main(int argc, char** argv)
|
|||
menubar->add_menu(move(edit_menu));
|
||||
|
||||
auto build_action = GAction::create("Build", { Mod_Ctrl, Key_B }, GraphicsBitmap::load_from_file("/res/icons/16x16/build.png"), [&](auto&) {
|
||||
tab_widget->set_active_widget(terminal_wrapper);
|
||||
build(terminal_wrapper);
|
||||
});
|
||||
toolbar->add_action(build_action);
|
||||
|
||||
auto run_action = GAction::create("Run", { Mod_Ctrl, Key_R }, GraphicsBitmap::load_from_file("/res/icons/16x16/run.png"), [&](auto&) {
|
||||
tab_widget->set_active_widget(terminal_wrapper);
|
||||
run(terminal_wrapper);
|
||||
});
|
||||
toolbar->add_action(run_action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue