{"version":"2.1.332","anchor":"terminal-input-and-diff-rendering-performance-changes","canonical_anchor":"terminal-input-and-diff-rendering-performance-changes","heading":"Faster word editing in long prompts and faster diff display","tier":"notice","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/terminal-input-and-diff-rendering-performance-changes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Faster word editing in long prompts and faster diff display\n\nWord movement and word deletion in the prompt box now look only at nearby text, and diff display caches its lines\n\n**What**\n\nSeveral parts of the terminal display were reworked for speed:\n\n- Word movement and word deletion in the prompt box now work out word boundaries from the text near the cursor instead of scanning the whole prompt.\n\n- Diff display, the view showing what changed in a file, now keeps its unwrapped lines in a cache instead of rebuilding them.\n\n- Code blocks in Markdown output can now be drawn by a separate, custom renderer.\n\n**Why**\n\nEditing a very large pasted prompt should be quicker. Jumping or deleting by word may behave slightly differently from before in some cases.\n\n- Area: Terminal UI\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}