claude-code - 💡(How to fix) Fix [DOCS] Interactive mode keyboard shortcuts show outdated Ctrl+U/Ctrl+Y buffer behavior [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49304Fetched 2026-04-17 08:45:03
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Documentation Type

Incorrect/outdated documentation

Documentation Location

https://code.claude.com/docs/en/interactive-mode

Section/Topic

"Keyboard shortcuts" → "Text editing"

Current Documentation

The docs currently say:

| Ctrl+K | Delete to end of line | Stores deleted text for pasting | | Ctrl+U | Delete from cursor to line start | Stores deleted text for pasting. Repeat to clear across lines in multiline input | | Ctrl+Y | Paste deleted text | Paste text deleted with Ctrl+K or Ctrl+U |

This still describes the older line-oriented Ctrl+U behavior.

What's Wrong or Missing?

Changelog v2.1.111 says:

Ctrl+U now clears the entire input buffer (previously: delete to start of line); press Ctrl+Y to restore

The interactive mode shortcuts table has not been updated to reflect that behavior change. It still says Ctrl+U deletes only from the cursor to the line start, which contradicts the current behavior, and it does not make clear that Ctrl+Y restores the fully cleared buffer.

Suggested Improvement

Update the Ctrl+U and Ctrl+Y rows in the "Text editing" table to match the current behavior introduced in v2.1.111:

  • Change Ctrl+U from "Delete from cursor to line start" to language that explains it clears the entire input buffer
  • Clarify that Ctrl+Y restores text cleared by Ctrl+U
  • Remove or revise the "Repeat to clear across lines in multiline input" wording if it no longer reflects the new single-action behavior

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageLine(s)Context
https://code.claude.com/docs/en/interactive-mode49-51Text editing shortcuts table still documents the pre-v2.1.111 Ctrl+U behavior and only partially explains Ctrl+Y

Total scope: 1 page affected

Source: Changelog v2.1.111

Exact changelog entry:

Ctrl+U now clears the entire input buffer (previously: delete to start of line); press Ctrl+Y to restore

extent analysis

TL;DR

Update the documentation for Ctrl+U and Ctrl+Y in the "Text editing" table to reflect the new behavior introduced in v2.1.111.

Guidance

  • Review the changelog entry for v2.1.111 to understand the behavior change for Ctrl+U and Ctrl+Y.
  • Update the Ctrl+U row in the table to indicate that it clears the entire input buffer.
  • Clarify the Ctrl+Y row to explain that it restores the text cleared by Ctrl+U.
  • Remove or revise the "Repeat to clear across lines in multiline input" wording for Ctrl+U as it no longer applies.

Example

The updated table rows could look like this:

| Ctrl+K | Delete to end of line | Stores deleted text for pasting | | Ctrl+U | Clear entire input buffer | Cleared text can be restored with Ctrl+Y | | Ctrl+Y | Restore cleared text | Restores text cleared by Ctrl+U |

Notes

The update should be applied to the "Text editing" table on the affected page: https://code.claude.com/docs/en/interactive-mode.

Recommendation

Apply the workaround by updating the documentation to reflect the correct behavior of Ctrl+U and Ctrl+Y as described in the changelog entry for v2.1.111. This will improve the accuracy of the documentation and reduce confusion for users.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING