github / github/copilot-cli

Allow interrupt current execution with new prompt by tapping enter twice

Open
#4,125 0 comments 0 reactions 0 assignees View on GitHub
area:input-keyboard
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the feature or problem you'd like to solve

Allow quick redirection of AI by double tapping enter to force the new prompt for immediate execution

### Proposed solution

Grok CLI has a very nice funcionality that allow prompts to be sent immediately to the AI skipping the queue if you double tab the enter (after submiting the porompt).

This seems to be a very useful feature to bring to copilot CLI

### Example prompts or workflows

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the CLI's prompt input handling, submission flow, and execution queue or interruption logic. Confirm how a second Enter after submission is detected, then verify that it immediately interrupts the current execution and runs the new prompt instead of waiting in the queue.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.