summaryrefslogtreecommitdiff
path: root/src/apprt/surface.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/apprt/surface.zig')
-rw-r--r--src/apprt/surface.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/apprt/surface.zig b/src/apprt/surface.zig
index e4effe128..70866c609 100644
--- a/src/apprt/surface.zig
+++ b/src/apprt/surface.zig
@@ -96,6 +96,14 @@ pub const Message = union(enum) {
/// Report the progress of an action using a GUI element
progress_report: terminal.osc.Command.ProgressReport,
+ /// A command has started in the shell, start a timer.
+ start_command_timer,
+
+ /// A command has finished in the shell, stop the timer and send out
+ /// notifications as appropriate. The optional u8 is the exit code
+ /// of the command.
+ stop_command_timer: ?u8,
+
pub const ReportTitleStyle = enum {
csi_21_t,