Broken multiline input in command line

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Multi-line text input is creating clobbered output, when a newline is input using Alt+Enter.

Steps to Reproduce

  • Open cursor CLI
  • Type foo
  • Press Alt+Enter
  • Type bar

Expected Behavior

Foo and bar in different lines, like how it works on Claude, codex, gemini, etc.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.45 (Universal)
VSCode Version: 1.99.3
Commit: 3ccce8f55d8cca49f6d28b491a844c699b8719a0
Date: 2025-09-22T18:22:38.013Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

For AI issues: which model did you use?

N/A

For AI issues: add Request ID with privacy disabled

N/A

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. Line wrapping in Cursor CLI isn’t working quite right yet. We’re working on it. As a workaround, you can use Ctrl+J to wrap lines in the request input.

Thanks, that works :slight_smile:

Out of curiosity, does the terminal emit different keys for Alt+Return and Ctrl+J? and the issue because cursor handles them differently?

Yes, exactly. Ctrl+J works because it’s a Vim‑like way to move to a new line.

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