summaryrefslogtreecommitdiff
path: root/web/src/pages/Stream.jsx
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2019-07-19 13:07:32 -0700
committerClark Boylan <clark.boylan@gmail.com>2019-07-19 14:16:08 -0700
commit672c4160ee8f78c36175946d2bcaea5d3d39df57 (patch)
tree6736cb3edba8ecb5c6dbc5e0520ff47262bf1ef3 /web/src/pages/Stream.jsx
parent3d9498f78db956cee366e3f5b633cf37df4e5bfa (diff)
downloadzuul-672c4160ee8f78c36175946d2bcaea5d3d39df57.tar.gz
Update xterm to >= 3.14.5
Upstream claims to have fixed the setTheme issue with xterm that led to us capping it [0]. Separately I've found that latest Firefox 69 beta 6 seems to be broken with log streaming and it appears to be stuck requesting and animation frame for xterm.js. In an effort to aid debugging lets update to latest xterm.js as that may fix the problem and if it doesn't maybe we can escalate to firefox. [0] https://github.com/xtermjs/xterm.js/pull/2222 Change-Id: I954ee2800e23bbce9c789dc5854a9de6c29f8dcf
Diffstat (limited to 'web/src/pages/Stream.jsx')
-rw-r--r--web/src/pages/Stream.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/pages/Stream.jsx b/web/src/pages/Stream.jsx
index f3cd27071..1d34a345b 100644
--- a/web/src/pages/Stream.jsx
+++ b/web/src/pages/Stream.jsx
@@ -68,7 +68,7 @@ class StreamPage extends React.Component {
// correctly so we derive this directly from the window height.
const geometry = this.term.proposeGeometry()
if (geometry) {
- const cellHeight = this.term._core.renderer.dimensions.actualCellHeight
+ const cellHeight = this.term._core._renderCoordinator.dimensions.actualCellHeight
const height = window.innerHeight - this.term.element.offsetTop - 10
const rows = Math.max(Math.floor(height / cellHeight), 10)