mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +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
|
@ -573,6 +573,9 @@ void Terminal::execute_xterm_command()
|
|||
// FIXME: Respect the provided ID
|
||||
m_current_attribute.href_id = String::format("%u", m_next_href_id++);
|
||||
break;
|
||||
case 9:
|
||||
m_client.set_window_progress(numeric_params[1], numeric_params[2]);
|
||||
break;
|
||||
default:
|
||||
unimplemented_xterm_escape();
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue