claude-code - 💡(How to fix) Fix [Feature Request] Add keyboard shortcut to select all text in prompt buffer [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#52912Fetched 2026-04-25 06:17:36
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3closed ×1commented ×1
RAW_BUFFERClick to expand / collapse

Proposed behavior A dedicated shortcut (e.g. Ctrl+Shift+A) that selects all text in the current prompt buffer only — not the transcript above. Standard Cmd+C / Ctrl+C then copies the selection.

Use cases

  • Copy a long prompt to paste elsewhere
  • Replace the entire input wholesale
  • Move the prompt to an external editor

Environment

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.116

extent analysis

TL;DR

Implementing a dedicated shortcut to select all text in the current prompt buffer will likely require modifying the ghostty terminal configuration or contributing to its development.

Guidance

  • Review the ghostty terminal documentation for existing shortcuts or configuration options that could achieve the desired behavior.
  • Investigate the possibility of contributing to the ghostty project by submitting a feature request or pull request to add the proposed shortcut.
  • Consider using a third-party plugin or script to extend the functionality of the ghostty terminal, if available.
  • Test the standard Cmd+A shortcut to see if it already selects all text in the current prompt buffer, as this might be a simpler solution.

Notes

The feasibility of this fix may depend on the ghostty terminal's architecture and configuration options, which are not fully detailed in the issue.

Recommendation

Apply workaround: Since the issue does not imply an existing fix or version upgrade, exploring workarounds such as contributing to the ghostty project or using third-party plugins seems like the most viable approach.

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 [Feature Request] Add keyboard shortcut to select all text in prompt buffer [1 comments, 2 participants]