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.cpp | |
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.cpp')
-rw-r--r-- | Kernel/TTY/VirtualConsole.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/TTY/VirtualConsole.cpp b/Kernel/TTY/VirtualConsole.cpp index 3716421bfe..f7cb4a376e 100644 --- a/Kernel/TTY/VirtualConsole.cpp +++ b/Kernel/TTY/VirtualConsole.cpp @@ -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); |