aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xdsserver/terminal-ssh.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-03-15 14:50:27 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-04-05 01:30:28 +0200
commit08095aa9a0d7b9b7636cdf36a5a5b6df2592bc05 (patch)
treea62f59e6b0116d31b7ad9ec85974129d9698765b /lib/xdsserver/terminal-ssh.go
parent17812a0a4388ab0c87084ef7e8118d87e8fadcf7 (diff)
Added Target and Terminal events through WS.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/xdsserver/terminal-ssh.go')
-rw-r--r--lib/xdsserver/terminal-ssh.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xdsserver/terminal-ssh.go b/lib/xdsserver/terminal-ssh.go
index 9a9f5fd..c275173 100644
--- a/lib/xdsserver/terminal-ssh.go
+++ b/lib/xdsserver/terminal-ssh.go
@@ -246,6 +246,8 @@ func (t *TermSSH) Resize(cols, rows uint16) (*xsapiv1.TerminalConfig, error) {
t.termCfg.Rows = rows
}
+ t.LogSillyf("Terminal resize id=%v, cols=%v, rows=%v", t.termCfg.ID, cols, rows)
+
err := t.sshWS.TerminalSetSize(t.termCfg.Rows, t.termCfg.Cols)
if err != nil {
t.Log.Errorf("Error ssh TerminalSetSize: %v", err)