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

LibVT: Make terminal scrollback max size configurable

This commit is contained in:
AnotherTest 2020-11-29 17:56:02 +03:30 committed by Andreas Kling
parent 158fe9d9ca
commit 5c8b48053e
2 changed files with 32 additions and 1 deletions

View file

@ -79,6 +79,9 @@ public:
int scroll_length() const;
void set_scroll_length(int);
size_t max_history_size() const { return m_terminal.max_history_size(); }
void set_max_history_size(size_t value) { m_terminal.set_max_history_size(value); }
GUI::Action& copy_action() { return *m_copy_action; }
GUI::Action& paste_action() { return *m_paste_action; }
GUI::Action& clear_including_history_action() { return *m_clear_including_history_action; }