From f223efc5e5a08764cf9f78fb5f38917ed949407f Mon Sep 17 00:00:00 2001 From: Clément Bénier Date: Tue, 14 Aug 2018 11:37:32 +0200 Subject: terminal: when closing term, pass status to closing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit status in return TerminalConfig is still opened when a term is closed Change-Id: Idacb67607ca32bfe35738d86e784512cb7758b02 Signed-off-by: Clément Bénier --- lib/xsapiv1/targets.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/xsapiv1') diff --git a/lib/xsapiv1/targets.go b/lib/xsapiv1/targets.go index 793724a..bae36f9 100644 --- a/lib/xsapiv1/targets.go +++ b/lib/xsapiv1/targets.go @@ -65,6 +65,8 @@ const ( StatusTermOpen = "Open" // StatusTermClose Close state StatusTermClose = "Close" + // StatusTermClosing Closing state + StatusTermClosing = "Closing" // TerminalInEvent Event send in WS when characters are sent (stdin) TerminalInEvent = "term:input" -- cgit 1.2.3-korg