1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:27:34 +00:00

LibVT/Terminal: add a scroll length to the TerminalWidget

The scroll length is the number of lines by which the terminal will go
up/down when scrolling the mouse wheel once.
This commit is contained in:
Benoît Lormeau 2020-06-29 22:28:18 +02:00 committed by Andreas Kling
parent f20becf71b
commit 310fbe48e5
3 changed files with 29 additions and 2 deletions

View file

@ -74,6 +74,8 @@ public:
VT::Position normalized_selection_end() const;
bool is_scrollable() const;
int scroll_length() const;
void set_scroll_length(int);
GUI::Action& copy_action() { return *m_copy_action; }
GUI::Action& paste_action() { return *m_paste_action; }