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
commit 310fbe48e5
Notes: sideshowbarker 2024-07-19 05:18:59 +09:00
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; }