diff --git a/public/claude-ide/ide.js b/public/claude-ide/ide.js index d9c63fab..459f5616 100644 --- a/public/claude-ide/ide.js +++ b/public/claude-ide/ide.js @@ -487,7 +487,7 @@ function detectApprovalRequest(content) { let command = match[1].trim(); // Clean up the command - command = command.replace(/[?\s\.]+$/, '').trim(); + command = command.replace(/[?\\s.]+$/, '').trim(); // Extract explanation from the content let explanation = '';