diff --git a/io/system/system.go b/io/system/system.go index 8abac6d8..4aa88d3b 100644 --- a/io/system/system.go +++ b/io/system/system.go @@ -79,10 +79,11 @@ type StageEvent struct { Stage Stage } -// CommandEvent is a system event. +// CommandEvent is a system event. Unlike most other events, CommandEvent is +// delivered as a pointer to allow Cancel to suppress it. type CommandEvent struct { Type CommandType - // Suppress the default action of the command. + // Cancel suppress the default action of the command. Cancel bool }