mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:07:45 +00:00
LibVT: Don't leave 50ms auto-scroll timer running at all times
This timer was causing wake-ups every 50ms in all terminals, just to right back to sleep unless we were in the middle of an auto-scroll.
This commit is contained in:
parent
d0df249666
commit
7d7950b322
2 changed files with 15 additions and 6 deletions
|
@ -201,6 +201,8 @@ private:
|
|||
Down
|
||||
};
|
||||
|
||||
void set_auto_scroll_direction(AutoScrollDirection);
|
||||
|
||||
AutoScrollDirection m_auto_scroll_direction { AutoScrollDirection::None };
|
||||
|
||||
RefPtr<Core::Timer> m_cursor_blink_timer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue