diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-30 22:11:35 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-30 23:00:35 +0200 |
commit | 165f69023b73898e424949a8c6a2a9de86077cfd (patch) | |
tree | 09a530abee47e218e8fa604f122968d6501ea2de /Kernel/TTY/VirtualConsole.h | |
parent | e263dc8427aff08307faa02e1278d13c4901e810 (diff) | |
download | serenity-165f69023b73898e424949a8c6a2a9de86077cfd.zip |
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! :^)
Diffstat (limited to 'Kernel/TTY/VirtualConsole.h')
-rw-r--r-- | Kernel/TTY/VirtualConsole.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/TTY/VirtualConsole.h b/Kernel/TTY/VirtualConsole.h index db9c9b8b01..44ef39d682 100644 --- a/Kernel/TTY/VirtualConsole.h +++ b/Kernel/TTY/VirtualConsole.h @@ -59,6 +59,7 @@ private: // ^TerminalClient virtual void beep() override; virtual void set_window_title(const StringView&) override; + virtual void set_window_progress(int, int) override; virtual void terminal_did_resize(u16 columns, u16 rows) override; virtual void terminal_history_changed() override; virtual void emit(const u8*, size_t) override; |