Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Hide console to focus main window after find executed #1108

Merged
merged 1 commit into from
Apr 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/console/components/FindPrompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>) => {
Expand Down