feat: add new SubmitKey (⌘ + Enter)

This commit is contained in:
iSource 2023-03-28 10:20:21 +08:00
parent e22943d51f
commit e3694ef048

View File

@ -135,7 +135,8 @@ function useSubmitHandler() {
(config.submitKey === SubmitKey.Enter &&
!e.altKey &&
!e.ctrlKey &&
!e.shiftKey)
!e.shiftKey &&
!e.metaKey)
);
};