Skip to content

Commit c99ed2a

Browse files
Merge pull request #2398 from jwforres/terminal-refresh
Automatic merge from submit-queue. Bump container terminal to v2.1.1 to fix refresh when disconnect / re-connect Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1506115
2 parents fe5fdfe + 083c2f2 commit c99ed2a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"selectize": "0.12.1",
2929
"c3": "0.4.11",
3030
"kubernetes-label-selector": "2.1.1",
31-
"kubernetes-container-terminal": "2.1.0",
31+
"kubernetes-container-terminal": "2.1.1",
3232
"registry-image-widgets": "https://github.com/cockpit-project/registry-image-widgets.git#0.0.14",
3333
"layout.attrs": "2.1.1",
3434
"kubernetes-object-describer": "1.0.4",

dist/scripts/vendor.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -57688,7 +57688,7 @@ case "2":
5768857688
case "3":
5768957689
m.write(i(t));
5769057690
}
57691-
c && (c = !1, h.addClass("hidden"), f.addClass("hidden"), m.cursorHidden = !1, m.showCursor(), m.refresh(m.y, m.y), a.autofocus && m.element && m.focus());
57691+
c && (c = !1, h.addClass("hidden"), f.addClass("hidden"), m.cursorHidden = !1, m.showCursor(), a.autofocus && m.element && m.focus());
5769257692
}, g.onclose = function(t) {
5769357693
a.status = "disconnected", e(t.reason);
5769457694
};
@@ -57697,7 +57697,7 @@ e(t.message);
5769757697
}), a.status = "connected";
5769857698
}
5769957699
function u() {
57700-
a.status = "disconnected", h.addClass("hidden"), f.removeClass("hidden"), m && (m.cursorHidden = !0, m.refresh(m.x, m.y)), g && (g.onopen = g.onmessage = g.onerror = g.onclose = null, g.readyState < 2 && g.close(), g = null), window.clearInterval(p), p = null;
57700+
a.status = "disconnected", h.addClass("hidden"), f.removeClass("hidden"), m && (m.cursorHidden = !0, m.refresh(m.buffer.y, m.buffer.y)), g && (g.onopen = g.onmessage = g.onerror = g.onclose = null, g.readyState < 2 && g.close(), g = null), window.clearInterval(p), p = null;
5770157701
}
5770257702
a.status = "disconnected";
5770357703
var d = e.element("<div class='terminal-wrapper'>");
@@ -57712,7 +57712,7 @@ screenKeys: a.screenKeys || !0,
5771257712
applicationCursor: !0,
5771357713
mouseEvents: !0
5771457714
});
57715-
d.empty(), m.open(d[0]), m.cursorHidden = !0, m.refresh(m.x, m.y), m.on("data", function(e) {
57715+
d.empty(), m.open(d[0]), m.cursorHidden = !0, m.refresh(m.buffer.y, m.buffer.y), m.on("data", function(e) {
5771657716
g && 1 === g.readyState && g.send("0" + n(e));
5771757717
});
5771857718
var v = function() {

0 commit comments

Comments
 (0)