Focus terminal on closing search box (#6230)

This commit is contained in:
letsandeepio 2022-01-10 11:16:06 -05:00 committed by GitHub
parent 8546374a62
commit 9f4687c0ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -310,6 +310,7 @@ export default class Term extends React.PureComponent<TermProps> {
closeSearchBox = () => {
this.props.onCloseSearch();
this.term.focus();
};
resize(cols: number, rows: number) {