From 17812a0a4388ab0c87084ef7e8118d87e8fadcf7 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 9 Mar 2018 17:19:50 +0100 Subject: Fixed terminal output (support escape and control characters) Signed-off-by: Sebastien Douheret --- lib/xsapiv1/targets.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/xsapiv1/targets.go') 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 -- cgit 1.2.3-korg