docs: fix prompt suggestion accept shortcuts for Agent View#306
Merged
Conversation
The Active AI Prompt Suggestions docs listed CMD-ENTER (macOS) and CTRL-SHIFT-ENTER (Linux/Windows) for accepting a prompt suggestion. With Agent View enabled (now shipped in stable), the client registers ctrl-enter on macOS and alt-shift-enter on Linux/Windows, and the inline banner renders its hint from that binding. Update the docs to match. Fixes warpdotdev/warp#13388 Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
advait-m
approved these changes
Jul 9, 2026
Contributor
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the keyboard shortcut listed for accepting an Active AI Prompt Suggestion. The docs were stale relative to the current client behavior with Agent View (now shipped in stable).
Reported in warpdotdev/warp#13388: on macOS the accept shortcut is
Ctrl+Return(^⏎), notCmd+Return.Change
In
src/content/docs/agent-platform/local-agents/active-ai.mdx("Accepting a prompt suggestion"):CMD-ENTER→CTRL-ENTERCTRL-SHIFT-ENTER→ALT-SHIFT-ENTERVerification
ACCEPT_PROMPT_SUGGESTION_KEYBINDINGinapp/src/terminal/view/init.rsregistersctrl-enter(macOS) andalt-shift-enter(Linux/Windows) whenFeatureFlag::AgentViewis enabled. The inline banner (app/src/terminal/view/inline_banner/prompt_suggestions.rs) renders its hint from that same binding, so the UI hint (^⏎) and the docs now agree. The reporter only flagged macOS, but the Agent View path changed Linux/Windows too, so both are corrected.Fixes warpdotdev/warp#13388
Conversation: https://staging.warp.dev/conversation/5cc2a4aa-9fcf-4e7f-8dfb-2a77e21ffc4d
Run: https://oz.staging.warp.dev/runs/019f4313-605d-76bb-b710-25e918158753
This PR was generated with Oz.