mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 22:18:41 -09:00
Focus terminal on closing search box (#6230)
This commit is contained in:
parent
8546374a62
commit
9f4687c0ab
1 changed files with 1 additions and 0 deletions
|
|
@ -310,6 +310,7 @@ export default class Term extends React.PureComponent<TermProps> {
|
||||||
|
|
||||||
closeSearchBox = () => {
|
closeSearchBox = () => {
|
||||||
this.props.onCloseSearch();
|
this.props.onCloseSearch();
|
||||||
|
this.term.focus();
|
||||||
};
|
};
|
||||||
|
|
||||||
resize(cols: number, rows: number) {
|
resize(cols: number, rows: number) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue