Skip to content

Commit

Permalink
Focus the terminal after closing search
Browse files Browse the repository at this point in the history
  • Loading branch information
LabhanshAgrawal committed Sep 17, 2021
1 parent aee1e83 commit a3ca91d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/command-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
};

Expand Down

0 comments on commit a3ca91d

Please sign in to comment.