1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:27:45 +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

@ -59,6 +59,8 @@ public:
void on_input(u8);
void clear();
void clear_including_history();
void set_size(u16 columns, u16 rows);
u16 columns() const { return m_columns; }
u16 rows() const { return m_rows; }