Focus the terminal after closing search

This commit is contained in:
Labhansh Agrawal 2021-09-17 10:10:27 +05:30
parent aee1e83885
commit a3ca91d593

View file

@ -8,6 +8,7 @@ const {getDecoratedKeymaps} = remote.require('./plugins') as typeof import('../a
let commands: Record<string, (event: any, dispatch: HyperDispatch) => void> = {
'editor:search-close': (e, dispatch) => {
dispatch(closeSearch(undefined, e));
window.focusActiveTerm();
}
};