Cursor agent sends the wrong key code when I press backspace

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

cursor-agents should honor whatever the key codes are that the terminal is set up for, and it should not send the delete key code when I pressed backspace or vice versa.

Steps to Reproduce

Press backspace

Expected Behavior

Backspace works.

Operating System

Linux

Version Information

2026.01.28-fd13201

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue with keyboard input handling in Cursor CLI on Linux, and the team is aware of it.

To help with prioritization, could you clarify:

  • Which terminal are you using (gnome-terminal, konsole, alacritty, etc.)?
  • Does the bug happen all the time, or only in specific scenarios?
1 Like

I’m using SecureCRT terminal. Happens all the time in the agent, never in anything else.
Looks like someone chose some funky alpha-quality untested terminal display lib and threw it into production with no testing… the scale of the disaster in all terminals is so bad that I really, STRONGLY, suggest you ditch whatever library that was, and go get something else that’s mature and known to work. Terminals are HARD - you can’t just “wing it” !!

adding comment to show support for fixing this bug!