1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:27:35 +00:00

Terminal+LibVT: Add "clear including history" action (Ctrl+Shift+K) :^)

Sometimes you just want to get rid of all your scrollback history in
the terminal, and now there's a way to do that.
This commit is contained in:
Andreas Kling 2020-07-05 23:34:02 +02:00
parent e8a59ef842
commit 0c4b0c0312
5 changed files with 27 additions and 0 deletions

View file

@ -297,6 +297,9 @@ int main(int argc, char** argv)
edit_menu.add_action(terminal.copy_action());
edit_menu.add_action(terminal.paste_action());
auto& view_menu = menubar->add_menu("View");
view_menu.add_action(terminal.clear_including_history_action());
GUI::ActionGroup font_action_group;
font_action_group.set_exclusive(true);
auto& font_menu = menubar->add_menu("Font");