Readline word motion (Ctrl+Left/Right) not working in CLI agent prompt

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Ctrl+Left and Ctrl+Right (word motion / jump by word) do not work in the Cursor CLI agent prompt input. These keybindings work everywhere else in the terminal. Alt+F/B (Emacs-style word
motion) also do not work.
Konsole sends the correct xterm escape sequences (^[[1;5C for Ctrl+Right, ^[[1;5D for Ctrl+Left), confirmed via cat. The issue is that the CLI prompt input handler does not process
these sequences.

Steps to Reproduce

  1. Open Cursor CLI (cursor) in any terminal
  2. Type a multi-word prompt
  3. Press Ctrl+Left or Ctrl+Right to move by word
  4. Cursor moves to the beginning of the prompt or the end of the prompt and not to the next/previous word.

Expected Behavior

Cursor should jump between word boundaries, as is standard readline behavior.

Operating System

Linux

Version Information

• Cursor CLI: 3.0.13
• OS: Fedora Linux (kernel 6.19.9)
• Terminal: Konsole (KDE)
• TERM: xterm-256color
• Shell: bash

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 input navigation in the CLI, Ctrl+Left/Right and Alt+F/B aren’t handled correctly in the prompt input. The team’s aware, and I shared your thread for extra context. Konsole + Fedora + xterm-256color is a helpful data point.

There’s no ETA for a fix right now, but the issue is logged. I’ll post an update here if there’s any news.