Commit fe0df9c8 authored by liuzheng712's avatar liuzheng712

public

parent 56223dd6
...@@ -137,7 +137,7 @@ export class SshComponent implements OnInit { ...@@ -137,7 +137,7 @@ export class SshComponent implements OnInit {
} else { } else {
for (let _i = 0; _i < NavList.List.length; _i++) { for (let _i = 0; _i < NavList.List.length; _i++) {
if (NavList.List[_i].connected) { if (NavList.List[_i].connected) {
NavList.List[_i].Term.socket.emit('resize', [col, row]); NavList.List[_i].Term.socket.emit('resize', {'cols': col, 'rows': row});
NavList.List[_i].Term.term.resize(col, row); NavList.List[_i].Term.term.resize(col, row);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment