diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-03-09 17:19:50 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-03-09 17:19:50 +0100 |
commit | 17812a0a4388ab0c87084ef7e8118d87e8fadcf7 (patch) | |
tree | fafa3e95348087028e27a0b13ee02bd5aa734fd6 /lib/xsapiv1 | |
parent | 65e09e831cf13343ac713fbf15281174d1f13a94 (diff) |
Fixed terminal output (support escape and control characters)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/xsapiv1')
-rw-r--r-- | lib/xsapiv1/targets.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xsapiv1/targets.go b/lib/xsapiv1/targets.go index 3f2b3c4..793724a 100644 --- a/lib/xsapiv1/targets.go +++ b/lib/xsapiv1/targets.go @@ -99,8 +99,8 @@ type ( TerminalOutMsg struct { TermID string `json:"termID"` Timestamp string `json:"timestamp"` - Stdout string `json:"stdout"` - Stderr string `json:"stderr"` + Stdout []byte `json:"stdout"` + Stderr []byte `json:"stderr"` } // TerminalExitMsg Message sent on terminal/console exit |