mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 13:59:40 +02:00
fix kubectl terminal not showing bottom line in some browser (#5444)
This commit is contained in:
parent
80465367a5
commit
0ff9d49c6f
3 changed files with 11 additions and 3 deletions
|
@ -39,6 +39,7 @@ export default class KubectlShellController {
|
|||
}
|
||||
|
||||
configureSocketAndTerminal(socket, term) {
|
||||
var vm = this;
|
||||
socket.onopen = function () {
|
||||
const terminal_container = document.getElementById('terminal-container');
|
||||
term.open(terminal_container);
|
||||
|
@ -55,7 +56,7 @@ export default class KubectlShellController {
|
|||
});
|
||||
|
||||
this.$window.onresize = function () {
|
||||
term.fit();
|
||||
vm.TerminalWindow.terminalresize();
|
||||
};
|
||||
|
||||
socket.onmessage = function (msg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue