mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
Terminal: Add support for fullscreen view
This commit is contained in:
parent
793d315994
commit
7b22fb70a2
Notes:
sideshowbarker
2024-07-18 21:26:53 +09:00
Author: https://github.com/bcoles Commit: https://github.com/SerenityOS/serenity/commit/7b22fb70a2c Pull-request: https://github.com/SerenityOS/serenity/pull/5751
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user