diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-04-14 21:48:29 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-04-14 23:03:30 +0900 |
commit | fb001f4c7e908618e5b2fbc3779ca0f668677f77 (patch) | |
tree | 0419b8855928f10cde871f54306335864d5ac7c2 /src | |
parent | 7293efa90edd927e5a310343401999310bf7dbc7 (diff) |
Hide console to focus main window after find executed
Diffstat (limited to 'src')
-rw-r--r-- | src/console/components/FindPrompt.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/console/components/FindPrompt.tsx b/src/console/components/FindPrompt.tsx index c437d16..552a09d 100644 --- a/src/console/components/FindPrompt.tsx +++ b/src/console/components/FindPrompt.tsx @@ -25,6 +25,7 @@ const FindPrompt: React.FC = () => { const value = (e.target as HTMLInputElement).value; execFind(value === "" ? undefined : value); + hide(); }; const onKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => { |