diff --git a/lib/components/term.js b/lib/components/term.js index eaca996d..43bbf723 100644 --- a/lib/components/term.js +++ b/lib/components/term.js @@ -102,14 +102,10 @@ export default class Term extends PureComponent { // measures the container and makes the decision // whether to resize the term to fit the container measureResize() { - //eslint-disable-next-line no-console - console.log('performing measure resize'); const termRect = this.termWrapperRef.getBoundingClientRect(); if (!this.termRect || termRect.width !== this.termRect.width || termRect.height !== this.termRect.height) { this.termRect = termRect; - //eslint-disable-next-line no-console - console.log('performing fit resize'); this.fitResize(); } } diff --git a/lib/containers/hyper.js b/lib/containers/hyper.js index 46dc2539..491efe34 100644 --- a/lib/containers/hyper.js +++ b/lib/containers/hyper.js @@ -36,7 +36,7 @@ class Hyper extends PureComponent { attachKeyListeners() { // eslint-disable-next-line no-console - console.error('removed key listeners'); + console.error('unimplemented'); } onTermsRef(terms) { @@ -45,18 +45,11 @@ class Hyper extends PureComponent { componentDidUpdate(prev) { if (prev.activeSession !== this.props.activeSession) { - if (this.keys) { - this.keys.reset(); - } this.handleFocusActive(); - this.attachKeyListeners(); } } componentWillUnmount() { - if (this.keys) { - this.keys.reset(); - } document.body.style.backgroundColor = 'inherit'; }