1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:27:34 +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:
Andreas Kling 2020-05-30 22:11:35 +02:00
parent e263dc8427
commit 165f69023b
6 changed files with 20 additions and 0 deletions

View file

@ -42,6 +42,7 @@ public:
virtual void beep() = 0;
virtual void set_window_title(const StringView&) = 0;
virtual void set_window_progress(int value, int max) = 0;
virtual void terminal_did_resize(u16 columns, u16 rows) = 0;
virtual void terminal_history_changed() = 0;
virtual void emit(const u8*, size_t) = 0;