diff --git a/src/components/input.tsx b/src/components/input.tsx index bf9de68..2a69cd1 100644 --- a/src/components/input.tsx +++ b/src/components/input.tsx @@ -16,6 +16,10 @@ export const Input = ({ clearHistory, }) => { const onSubmit = async (event: React.KeyboardEvent) => { + if (event.isComposing) { + return; + } + const commands: [string] = history .map(({ command }) => command) .filter((command: string) => command);