[DOCS] Interactive mode `Ctrl+U` docs omit multiline kill-to-line-start behavior
Documentation Type
Incorrect/outdated documentation
Documentation Location
https://code.claude.com/docs/en/interactive-mode
Section/Topic
Text editing keyboard shortcuts table (Ctrl+U row), with a cross-reference from the Multiline input section
Current Documentation
The text editing table currently says:
| Ctrl+U | Delete entire line | Stores deleted text for pasting |
The multiline input section currently says:
| Control sequence | Ctrl+J | Line feed character for multiline |
There is no explanation of how Ctrl+U behaves once the prompt spans multiple lines.
What's Wrong or Missing?
Changelog v2.1.84 clarifies that Ctrl+U is a kill-to-line-start operation and that multiline behavior at newline boundaries is intentionally supported:
FixedCtrl+U(kill-to-line-start) being a no-op at line boundaries in multiline input, so repeatedCtrl+Unow clears across lines
The docs still describe Ctrl+U as "Delete entire line," which is misleading for multiline editing. They do not explain that:
A. Ctrl+U is line-oriented
The changelog describes Ctrl+U as kill-to-line-start, not as a whole-prompt clear action.
B. Multiline behavior now extends across newline boundaries
In multiline input, repeated Ctrl+U now continues clearing backward across previous lines. That behavior is not documented anywhere on the page.
C. The multiline section documents insertion, but not editing semantics
The page explains how to create multiline input, but not how core line-editing shortcuts behave once multiline mode is active.
Suggested Improvement
Update the Ctrl+U row in the text-editing table to describe the actual behavior, for example:
| Ctrl+U | Delete to start of line | Readline-style kill-to-line-start. In multiline input, press repeatedly to clear backward across previous lines. Stores deleted text for pasting |
Also add a short note under Multiline input or in the text-editing section that standard line-editing shortcuts such as Ctrl+U operate per line and can be used repeatedly across multiline prompts.
Impact
Medium - Makes feature difficult to understand
Additional Context
Affected Pages:
| Page | Context |
|------|---------|
| https://code.claude.com/docs/en/interactive-mode | Text editing shortcut table and Multiline input section |
Total scope: 1 page affected
Source: Changelog v2.1.84
Exact changelog entry:
FixedCtrl+U(kill-to-line-start) being a no-op at line boundaries in multiline input, so repeatedCtrl+Unow clears across lines
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗