Terminal: Add support for fullscreen view

This commit is contained in:
Brendan Coles 2021-03-13 03:49:39 +00:00 committed by Andreas Kling
parent 793d315994
commit 7b22fb70a2
Notes: sideshowbarker 2024-07-18 21:26:53 +09:00

View File

@ -457,6 +457,9 @@ int main(int argc, char** argv)
}));
auto& view_menu = menubar->add_menu("View");
view_menu.add_action(GUI::CommonActions::make_fullscreen_action([&](auto&) {
window->set_fullscreen(!window->is_fullscreen());
}));
view_menu.add_action(terminal.clear_including_history_action());
view_menu.add_separator();
view_menu.add_action(pick_font_action);