claude-code - 💡(How to fix) Fix [BUG] ctrl+u used to delete one line, now it deletes the whole text box, ow my muscle memory [1 comments, 2 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#52130Fetched 2026-04-23 07:35:50
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×5closed ×1commented ×1unlabeled ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Before updating a week or two ago, ctrl+u used to delete just the text box line and now it deletes the whole text box.

What Should Happen?

Please revert to prior behavior.

Error Messages/Logs

Steps to Reproduce

  1. run claude
  2. type something
  3. before hitting enter, type ctrl+u
  4. observe that all the text disappears

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.111

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

No response

extent analysis

TL;DR

The issue can likely be resolved by reverting or adjusting the keyboard shortcut behavior for ctrl+u in the Claude Code application to its previous version's functionality.

Guidance

  • Review the changelog or release notes for version 2.1.111 to identify any changes related to keyboard shortcuts or text box behavior.
  • Check if there are any configuration options or settings within the Claude Code application that allow customization of keyboard shortcuts, specifically for ctrl+u.
  • If the application provides an option for resetting settings to their default state or to a previous version's behavior, consider using this feature.
  • Test the ctrl+u shortcut in a different environment or with a different model to see if the behavior is consistent across various setups.

Example

No specific code example can be provided without more details on the application's internal workings or API.

Notes

The solution may depend on the specific implementation details of the Claude Code application and its handling of keyboard shortcuts, which are not provided in the issue description.

Recommendation

Apply workaround: Since the exact cause and a direct fix are not immediately clear without more information on the application's codebase or configuration options, attempting to find a workaround such as customizing keyboard shortcuts or resetting application settings to default might be the most practical next step.

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