fix command and arg parsing with typed commands

pull/8675/merge^2
Matt Paras 2025-04-19 09:01:40 -07:00
parent 6e8fa50957
commit 85eab83d70
1 changed files with 1 additions and 1 deletions

View File

@ -3657,7 +3657,7 @@ fn execute_command_line(
None if event == PromptEvent::Validate => {
let parts = rest.split_whitespace().collect::<Vec<_>>();
if ScriptingEngine::call_typed_command(cx, input, &parts, event) {
if ScriptingEngine::call_typed_command(cx, command, &parts, event) {
// Engine handles the other cases
if event == PromptEvent::Validate {
let mappable_command = MappableCommand::Typable {