{"version":"2.1.337","anchor":"pasted-text-and-typing-keyed-edit-tracking-and-paste-cleanu","canonical_anchor":"pasted-text-and-typing-keyed-edit-tracking-and-paste-cleanu","heading":"Pasting shell commands into the prompt is cleaned up, with a hint when you miss the !","tier":"notice","area":"Prompt Input","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/pasted-text-and-typing-keyed-edit-tracking-and-paste-cleanu","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Pasting shell commands into the prompt is cleaned up, with a hint when you miss the `!`\n\nPasting into an empty shell-mode prompt drops two leading spaces per line, and pasting a copied `!` command outside shell mode shows a hint\n\n**What**\n\nTyping `!` at the start of the prompt puts it in shell mode, where what you type runs as a terminal command instead of going to Claude. Pasting into that prompt behaves differently now:\n\n- Pasting into an empty prompt in shell mode removes two leading spaces from the start of each pasted line.\n\n- Pasting text that starts with two spaces and then `! ` outside shell mode shows the hint \"To run a copied command, type ! before you paste it\".\n\nThe prompt box also now keeps track of edits made by keystrokes, so that undo can group them together.\n\n**Why**\n\nCommands copied from documentation or chat are often indented or carry the `!` in front. These changes stop that extra text from breaking the command, and tell you how to run it when it would otherwise be sent to Claude as a message.\n\n- Area: Prompt Input\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}