diff options
author | Clément Bénier <clement.benier@iot.bzh> | 2018-08-14 11:37:32 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-08-20 13:33:39 +0000 |
commit | f223efc5e5a08764cf9f78fb5f38917ed949407f (patch) | |
tree | aa513265bd52662e40fa1ad0f2046e7459928b0d /lib/xsapiv1 | |
parent | 8e18650d881cbf3d7016e10442e34096d7cca127 (diff) |
terminal: when closing term, pass status to closing
status in return TerminalConfig is still opened when a term is closed
Change-Id: Idacb67607ca32bfe35738d86e784512cb7758b02
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'lib/xsapiv1')
-rw-r--r-- | lib/xsapiv1/targets.go | 2 |
1 files changed, 2 insertions, 0 deletions
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" |