From d67cfb5b33f53529b2ea19a4f02cc0ec2d3db910 Mon Sep 17 00:00:00 2001 From: Mathew Pareles Date: Mon, 21 Apr 2025 02:27:21 -0700 Subject: [PATCH] small --- src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx index 4b8375da..d9d1f5b4 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx @@ -363,7 +363,7 @@ export const VoidInputBox2 = forwardRef(fun // The most reliable way to simulate typing is to use execCommand // which will trigger all the appropriate native events - document.execCommand('insertText', false, text); + document.execCommand('insertText', false, text + ' '); // add space after too // React's onChange relies on a SyntheticEvent system // The best way to ensure it runs is to call callbacks directly