mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
refactor(xterm): update xtermjs to latest version (#1692)
This commit is contained in:
parent
1ae9832980
commit
a76ccff7c9
4 changed files with 8 additions and 5 deletions
|
@ -87,7 +87,8 @@ function ($scope, $transition$, Container, Image, EndpointProvider, Notification
|
|||
term.on('data', function (data) {
|
||||
socket.send(data);
|
||||
});
|
||||
term.open(document.getElementById('terminal-container'), true);
|
||||
term.open(document.getElementById('terminal-container'));
|
||||
term.focus();
|
||||
term.resize(width, height);
|
||||
term.setOption('cursorBlink', true);
|
||||
term.fit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue