claude-code - 💡(How to fix) Fix [Bug] Command+Delete removes entire prompt instead of single line [2 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#49327Fetched 2026-04-17 08:44:23
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
1
Author
Timeline (top)
labeled ×3commented ×2closed ×1
RAW_BUFFERClick to expand / collapse

Bug Description You broke command + delete. Instead of removing "1 line" - it removes EVERYTHING in the prompt.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.111
  • Feedback ID: 641e441a-7db6-413d-84fe-8f73797668f7

extent analysis

TL;DR

The issue can likely be resolved by adjusting the keyboard shortcut handling for command + delete in the ghostty terminal.

Guidance

  • Verify that the issue is specific to the ghostty terminal on darwin by testing command + delete in other terminals.
  • Check the ghostty version 2.1.111 documentation for any known issues or configuration options related to keyboard shortcuts.
  • Look for any custom key bindings or plugins in ghostty that may be interfering with the default command + delete behavior.
  • Test the command + delete shortcut in a new, unconfigured ghostty session to isolate if the issue is related to user-specific settings.

Notes

The issue may be specific to the ghostty terminal or its configuration, and further investigation into its settings and documentation is needed.

Recommendation

Apply workaround: Adjust the keyboard shortcut handling for command + delete in the ghostty terminal, as it is likely a configuration issue rather than a version-specific bug.

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

claude-code - 💡(How to fix) Fix [Bug] Command+Delete removes entire prompt instead of single line [2 comments, 2 participants]