Cursor-agent CLI console input gets progressively more garbled the longer the lines you type in get

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

The IDE pointlessly re-draws the entire screen every keypress, so when you’ve got 2 or 3 lines of text, it’s so much redrawing, that it hasn’t finished before you type the next character, which then gets dropped or inserted at the wrong place.
This gets progressively worse and worse, until after about 5 or 6 lines of text, the console is totally unusable for typing into.

Hee is an example of arinlth tI type ifaste th bug kicks in.

Steps to Reproduce

Type long line

I type: Here is an example of an input line that I typed in after the bug kicks in.

I get: Hee is an example of arinlth tI type ifaste th bug kicks in.

Expected Behavior

Typing should work properly.
needless entire-screen and entire-line clear-and-redraw process needs to be removed - use the text drawing toolkit you have properly, or better still - get rid of it and switch to something that works and is stable.

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

2026.01.17-d239e66 (from bash)

Additional Information

Adding a non-fancy mode would be better - if we want crazy things redrawing all over the place, we can use the IDE - the CLI should limit the redraw madness to bare minimum.

This makes the CLI unusable - every prompt I type is long, and it messes them all up every time.

I’ve tested this on many different distros - same everywhere.

Does this stop you from using Cursor

Yes - Cursor is unusable

5 Likes

Hey, thanks for the detailed report.

This looks like a known issue with CLI input handling, and the team is aware of it.

To better understand your case, could you share:

  • Which terminal emulator you’re using
  • The output of echo $TERM
  • Ideally, a short video or GIF showing the bug

Let me know.

I can help here since it has been making the Cursor CLI experience very difficult.


I am using the latest iTerm on Mac and I have tried this on Terminal w/o any luck of improvements.

2 Likes

I’m using SecureCRT Version 9.4.0 (x64 build 3072) terminal.

$ echo $TERM
linux

Your team can easily reproduce this bug themselves! Just type a very long line!!

1 Like

Even more trivial way to reproduce this once its been triggered, you can simply hold down delete on a line with 10 or so words and watch it garble everything as it deletes random characters.

Reproduced with alacritty and xterm.

For example:I pasted the first sentence of this comment into the CLI, held delete for a bit and got this:

Just wanted to second this issue, as it makes Cursor CLI pretty much unusable for me. I’m using Wezterm.

This should be resolved as of the 2026.01.28 version. Please leave your version agent --version if you are still seeing this.

1 Like

Yeah, if you fixed a few more bugs we report, doing that might be easier!

$ agent --version
/home/cnd/.local/bin/agent: line 22: /home/cnd/.local/share/cursor-agent/versions/2026.01.28-fd13201/node: cannot execute binary file: Exec format error
/home/cnd/.local/bin/agent: line 22: /home/cnd/.local/share/cursor-agent/versions/2026.01.28-fd13201/node: Success

Nope - still totally broken.

I used voice-typing for the first time today as well - OMG - utter mess in the agent, total gibbering mess is what ended up showing.

╭──────────────────────────────────────────────────╮
│ │
│ About Cursor CLI │
│ │
│ CLI Version 2026.01.28-fd13201 │
│ Model Claude 4.5 Opus (Thinking) │
│ OS linux (x64) │
│ Terminal unknown │
│ Shell bash │
│ User Email * │
│ │
╰──────────────────────────────────────────────────╯

Seeing the same thing on mac terminal TERM=xterm-256color

  │  CLI Version         2026.01.28-fd13201                    │
  │  Model               Claude 4.5 Opus (Thinking)            │
  │  OS                  darwin (arm64)                        │
  │  Terminal            apple-terminal                        │
  │  Shell               zsh  

If you type fast enough (e.g. voice typing) after you’ve got >3 lines or so of text, the latest version also blows its own brains out:-


  ERROR  Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

 /home/cnd/.local/share/cursor-agent/versions/2026.01.28-fd13201/96.index.js:48:521515

 45:   ))?
 46: | (?<qBase>${fe})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
 47: | \\?.
 4 `.replace(/\s+/g,""),"gsu");RegExp;const ge=String.raw,he=ge`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,me=ge`\(\?R=(?<rDepth>[^\)]+)\)|${he}`,ye=ge`\(\?<(?![=!])(?<captureName>[^>]+)>`,Ee=ge`${ye}|(?<unnamed>\()(?!\?)`,Ie=new 
 8RegExp(ge`${ye}|${me}|\(\?|\\?.`,"gsu"),Ce="Cannot use multiple overlapping recursions";function ve(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if((e=+e)<2||e>100)throw new Error(t)}function 
 :be(e,t,n,r,o,i,s){const a=new Set;r&&ue(e+t,ye,(({groups:{captureName:e}})=>{a.add(e)}),ae.DEFAULT);const l=[n,r?a:null,o,i,s];return`${e}${Be(`(?:${e}`,"forward",...l)}(?:)${Be(`${t})`,"backward",...l)}${t}`}function Be(e,t,n,r,o,i,s){const 
  a=e=>"forward"===t?e+2:n-e+2-1;let l="";for(let t=0;t<n;t++){const n=a(t);l+=le(e,ge`${Ee}|

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.