summaryrefslogtreecommitdiff
path: root/src/Output.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-12-06 11:16:46 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2025-12-06 20:11:59 +0100
commit6c5eaccc5d79502a3ab67190a996025635f88564 (patch)
tree048823f91ec9271d021f909d57a96d063953e8c5 /src/Output.hs
parentb6b1c6e8b446abc80a3f4b6f382407e4e262e28e (diff)
Show command and arguments for spawned processes in output
Changelog: Show command and arguments for spawned processes in verbose output
Diffstat (limited to 'src/Output.hs')
-rw-r--r--src/Output.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Output.hs b/src/Output.hs
index b91bbdd..ca79dab 100644
--- a/src/Output.hs
+++ b/src/Output.hs
@@ -53,6 +53,7 @@ data OutputType
= OutputChildStdout
| OutputChildStderr
| OutputChildStdin
+ | OutputChildExec
| OutputChildInfo
| OutputChildFail
| OutputMatch
@@ -83,6 +84,7 @@ outColor :: OutputType -> Text
outColor OutputChildStdout = T.pack "0"
outColor OutputChildStderr = T.pack "31"
outColor OutputChildStdin = T.pack "0"
+outColor OutputChildExec = T.pack "33"
outColor OutputChildInfo = T.pack "0"
outColor OutputChildFail = T.pack "31"
outColor OutputMatch = T.pack "32"
@@ -95,6 +97,7 @@ outSign :: OutputType -> Text
outSign OutputChildStdout = " "
outSign OutputChildStderr = T.pack "!"
outSign OutputChildStdin = T.empty
+outSign OutputChildExec = "*"
outSign OutputChildInfo = T.pack "."
outSign OutputChildFail = T.pack "!!"
outSign OutputMatch = T.pack "+"
@@ -112,6 +115,7 @@ outTestLabel = \case
OutputChildStdout -> "child-stdout"
OutputChildStderr -> "child-stderr"
OutputChildStdin -> "child-stdin"
+ OutputChildExec -> "child-exec"
OutputChildInfo -> "child-info"
OutputChildFail -> "child-fail"
OutputMatch -> "match"