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

LibVT: Add TerminalWidget::scroll_to_bottom() API

(And use this internally when scrolling to bottom on non-modifier
keydown events.)
This commit is contained in:
Andreas Kling 2020-11-10 11:47:19 +01:00
parent eac0344ef0
commit 9475427d5d
2 changed files with 8 additions and 1 deletions

View file

@ -73,6 +73,8 @@ public:
VT::Position normalized_selection_start() const;
VT::Position normalized_selection_end() const;
void scroll_to_bottom();
bool is_scrollable() const;
int scroll_length() const;
void set_scroll_length(int);