From a3ca91d593770b0d12741a351f99ca15128dc390 Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Fri, 17 Sep 2021 10:10:27 +0530 Subject: [PATCH] Focus the terminal after closing search --- lib/command-registry.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/command-registry.ts b/lib/command-registry.ts index 27b6e513..8ec3b49d 100644 --- a/lib/command-registry.ts +++ b/lib/command-registry.ts @@ -8,6 +8,7 @@ const {getDecoratedKeymaps} = remote.require('./plugins') as typeof import('../a let commands: Record void> = { 'editor:search-close': (e, dispatch) => { dispatch(closeSearch(undefined, e)); + window.focusActiveTerm(); } };