1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:57:44 +00:00

LibVT+Kernel: Support clearing the scrollback buffer

As per the `xterm ctlseqs` documentation, `\e3J` should clear the
scrollback buffer, and leave the visible lines unchanged.

This commit fixes a FIXME.
This commit is contained in:
Daniel Bertalan 2021-06-05 09:29:49 +02:00 committed by Andreas Kling
parent 221ba1aac8
commit 8f8fd9c5a8
4 changed files with 14 additions and 11 deletions

View file

@ -35,7 +35,7 @@ public:
private:
virtual void invalidate_cursor() override;
virtual void clear() override;
virtual void clear_including_history() override;
virtual void clear_history() override;
virtual void scroll_up(u16 region_top, u16 region_bottom, size_t count) override;
virtual void scroll_down(u16 region_top, u16 region_bottom, size_t count) override;