Skip to content

Commit d48164a

Browse files
authored
Merge pull request #719 from richardkmichael/fix-704-trim-command-whitespace
fix: Trim whitespace from Command input to prevent ENOENT
2 parents 8a5a4e5 + acc0530 commit d48164a

File tree

3 files changed

+550
-512
lines changed

3 files changed

+550
-512
lines changed

client/src/components/Sidebar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ const Sidebar = ({
268268
placeholder="Command"
269269
value={command}
270270
onChange={(e) => setCommand(e.target.value)}
271+
onBlur={(e) => setCommand(e.target.value.trim())}
271272
className="font-mono"
272273
/>
273274
</div>

0 commit comments

Comments
 (0)