comments
This commit is contained in:
parent
e7f42e2ec7
commit
82dbc4387c
1 changed files with 5 additions and 0 deletions
|
@ -61,9 +61,14 @@ newMessageState = do
|
||||||
, promptLock = promptlock
|
, promptLock = promptlock
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- | When communicating with a child process over a pipe while it is
|
||||||
|
-- performing some action, this is used to pass back output that the child
|
||||||
|
-- would normally display to the console.
|
||||||
data SerializedOutput
|
data SerializedOutput
|
||||||
= OutputMessage S.ByteString
|
= OutputMessage S.ByteString
|
||||||
| OutputError String
|
| OutputError String
|
||||||
| ProgressMeter (Maybe Integer) MeterState MeterState
|
| ProgressMeter (Maybe Integer) MeterState MeterState
|
||||||
| JSONObject L.ByteString
|
| JSONObject L.ByteString
|
||||||
|
-- ^ This is always sent, it's up to the consumer to decide if it
|
||||||
|
-- wants to display JSON, or human-readable messages.
|
||||||
deriving (Show, Read)
|
deriving (Show, Read)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue