Multiline input: Ctrl+E doesn't wrap to next line (asymmetric with Ctrl+A)

Resolved 💬 1 comment Opened Mar 9, 2026 by charlesg3 Closed Mar 9, 2026

Description

In the Claude Code multiline chat input, Ctrl+A and Ctrl+E behave asymmetrically:

  • Ctrl+A: moves to beginning of line. Pressing again when already at the beginning moves the cursor to the line above.
  • Ctrl+E: moves to end of line. Pressing again when already at the end does nothing — it does not move to the next line.

Expected behavior

Both Ctrl+A and Ctrl+E should wrap consistently. If Ctrl+A wraps upward when at the beginning of a line, Ctrl+E should wrap downward (to the start of the next line) when at the end of a line.

Steps to reproduce

  1. Open Claude Code in a terminal (tested inside an nvim terminal session, but likely reproducible anywhere).
  2. Type a multiline message (e.g. two lines of text).
  3. Place the cursor at the end of the first line (or any non-last line).
  4. Press Ctrl+E — cursor goes to end of line (correct).
  5. Press Ctrl+E again — cursor stays at end of line (unexpected; should move to next line).

Compare: placing cursor at the beginning of the second line and pressing Ctrl+A twice correctly moves up to the previous line.

Environment

  • Platform: Linux

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗