diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-03-15 14:50:27 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-04-05 01:30:28 +0200 |
commit | 08095aa9a0d7b9b7636cdf36a5a5b6df2592bc05 (patch) | |
tree | a62f59e6b0116d31b7ad9ec85974129d9698765b /lib/xdsserver/terminal-ssh.go | |
parent | 17812a0a4388ab0c87084ef7e8118d87e8fadcf7 (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.go | 2 |
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) |