Skip to content

Commit a3ca91d

Browse files
Focus the terminal after closing search
1 parent aee1e83 commit a3ca91d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/command-registry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const {getDecoratedKeymaps} = remote.require('./plugins') as typeof import('../a
88
let commands: Record<string, (event: any, dispatch: HyperDispatch) => void> = {
99
'editor:search-close': (e, dispatch) => {
1010
dispatch(closeSearch(undefined, e));
11+
window.focusActiveTerm();
1112
}
1213
};
1314

0 commit comments

Comments
 (0)