mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:08:12 +00:00
LibVT: Allow updating the window progress via an escape sequence
You can now request an update of the terminal's window progress by sending this escape sequence: <esc>]9;<value>;<max_value>;<escape><backslash> I'm sure we can find many interesting uses for this! :^)
This commit is contained in:
parent
e263dc8427
commit
165f69023b
6 changed files with 20 additions and 0 deletions
|
@ -307,6 +307,11 @@ void VirtualConsole::set_window_title(const StringView&)
|
|||
// Do nothing.
|
||||
}
|
||||
|
||||
void VirtualConsole::set_window_progress(int, int)
|
||||
{
|
||||
// Do nothing.
|
||||
}
|
||||
|
||||
void VirtualConsole::terminal_did_resize(u16 columns, u16 rows)
|
||||
{
|
||||
ASSERT(columns == 80);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue