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

LibVT: Add title stack support

This feature allows applications to reset the window title once they
exited. It is used by `vim` if `set title` is enabled.
This commit is contained in:
Daniel Bertalan 2021-05-24 10:40:00 +02:00 committed by Ali Mohammad Pur
parent 439dc9b734
commit ee24f2eb2d
2 changed files with 35 additions and 6 deletions

View file

@ -339,6 +339,9 @@ protected:
Attribute m_current_attribute;
Attribute m_saved_attribute;
String m_current_window_title;
Vector<String> m_title_stack;
#ifndef KERNEL
u32 m_next_href_id { 0 };
#endif