From e3694ef04809d4dfd253b3a619234a7d197f8660 Mon Sep 17 00:00:00 2001 From: iSource Date: Tue, 28 Mar 2023 10:20:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20add=20new=20SubmitKey=20(=E2=8C=98=20+?= =?UTF-8?q?=20Enter)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/home.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/home.tsx b/app/components/home.tsx index 11c456f73..ea1d46fb1 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -135,7 +135,8 @@ function useSubmitHandler() { (config.submitKey === SubmitKey.Enter && !e.altKey && !e.ctrlKey && - !e.shiftKey) + !e.shiftKey && + !e.metaKey) ); };