mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:07:45 +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:
parent
f20becf71b
commit
310fbe48e5
3 changed files with 29 additions and 2 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue