github / github/copilot-cli

Feature request: stash prompt

Open
#3,034 0 comments 1 reaction 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

Ability to stash current prompt text for retrieval later

### Proposed solution

The following seems to happen regularly; I take time to craft a long prompt with various details that take a while to get. I then want to do another action in Copilot CLI; such as change models with `/model`, enable keep-alive (`/keep-alive`), change sessions, execute some bash command to find something, `/diff` to see if there are other changes I should commit first, etc.

Currently I rely on either copy/paste or opening a new terminal session for this.

It would be much more convenient if there was a way to stash my current prompt, do my additional actions, then retrieve my stashed prompt to execute or continue editing it.

### Example prompts or workflows

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.