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

Terminal: Implement 'J' escape "clear from cursor to end of screen."

This commit is contained in:
Andreas Kling 2019-01-30 21:04:49 +01:00
parent d1b805172d
commit f176af7cd1
2 changed files with 54 additions and 8 deletions

View file

@ -30,6 +30,10 @@ private:
void invalidate_window(const Rect& = Rect());
void set_window_title(const String&);
void inject_string(const String&);
void unimplemented_escape();
void unimplemented_xterm_escape();
void escape$A(const Vector<unsigned>&);
void escape$B(const Vector<unsigned>&);
void escape$C(const Vector<unsigned>&);
@ -109,6 +113,7 @@ private:
Vector<byte> m_intermediates;
Vector<byte> m_xterm_param1;
Vector<byte> m_xterm_param2;
byte m_final { 0 };
byte* m_horizontal_tabs { nullptr };
bool m_belling { false };