fix search addon import (#3833)

This commit is contained in:
Labhansh Agrawal 2019-09-25 19:10:50 +05:30 committed by Philippe Potvin
parent 5bc8e0b1e8
commit 5158417eb0
2 changed files with 1 additions and 2 deletions

View file

@ -87,7 +87,6 @@ class TermGroup_ extends React.PureComponent {
onResize: this.bind(this.props.onResize, null, uid),
onTitle: this.bind(this.props.onTitle, null, uid),
onData: this.bind(this.props.onData, null, uid),
onURLAbort: this.bind(this.props.onURLAbort, null, uid),
toggleSearch: this.bind(this.props.toggleSearch, null, uid),
onContextMenu: this.bind(this.props.onContextMenu, null, uid),
borderColor: this.props.borderColor,

View file

@ -3,7 +3,7 @@ import React from 'react';
import {Terminal} from 'xterm';
import * as fit from 'xterm/lib/addons/fit/fit';
import * as webLinks from 'xterm/lib/addons/webLinks/webLinks';
import * as search from 'xterm/lib/addons/search';
import * as search from 'xterm/lib/addons/search/search';
import * as winptyCompat from 'xterm/lib/addons/winptyCompat/winptyCompat';
import {clipboard} from 'electron';
import * as Color from 'color';