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