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

Terminal: Store horizontal tabs in a Vector.

There's no need to muck around with manual malloc()/free() here.
This commit is contained in:
Andreas Kling 2019-06-06 11:42:05 +02:00
parent ecb72dd991
commit e8f35ef311
2 changed files with 2 additions and 5 deletions

View file

@ -176,8 +176,8 @@ private:
Vector<byte> m_intermediates;
Vector<byte> m_xterm_param1;
Vector<byte> m_xterm_param2;
Vector<bool> m_horizontal_tabs;
byte m_final { 0 };
byte* m_horizontal_tabs { nullptr };
bool m_belling { false };
int m_pixel_width { 0 };