142 words
1 minutes
How to Run a Command While Keeping Your Input in GitHub Copilot CLI【Ctrl+S】

Overview#

Ever been writing a long prompt in Copilot CLI and thought “I want to run this, but I don’t want to lose what I typed in case I need to tweak it”?

Ctrl+S sends your prompt but keeps the text in the input field. No more retyping.


Usage#

While typing a prompt, press Ctrl+S instead of Enter.

With Enter, the prompt is sent and the input field is cleared. With Ctrl+S, the prompt is sent but your text stays put.


When to Use It#

ScenarioWhy it helps
Iterating on a long promptTweak and re-send without retyping
Running a check mid-editYour draft is preserved
Experimenting with variationsEasily modify and retry

Ctrl+S vs. Enter#

KeyWhat happens
EnterSend prompt, clear input
Ctrl+SSend prompt, keep input

A small thing, but once you know about it, you’ll wonder how you lived without it.


How to Run a Command While Keeping Your Input in GitHub Copilot CLI【Ctrl+S】
https://naonao-na.com/en/posts/github-copilot-cli-ctrl-s/
Author
[object Object]
Published at
2026-03-28