Display what's being typed when waiting for another command to finish #6187

Closed
opened 2026-01-31 00:31:53 +00:00 by claunia · 2 comments
Owner

Originally created by @sachinjoseph on GitHub (Jan 28, 2020).

Many common commands take a few seconds to complete, and the command that follows is usually known in advance. A common command-flow example:
pwsh> git checkout master ↲
<wait for command to complete>
pwsh> git pull ↲
<wait for command to complete>
pwsh> git checkout -b feature/foo ↲

Now, after typing in "git checkout master↲", there's a short wait for the command to complete. The next command can be typed in during this wait, but they are not displayed. Can we display what's being typed in while some command is executing? Then, the flow becomes something like:
pwsh> git checkout master ↲
<see characters typed in while waiting for the previous command> git pull
pwsh> git pull ↲ <user would have to just hit the enter key at this point as the command has already been typed in while waiting for the previous command to complete>
<see characters typed in while waiting for the previous command> git checkout -b feature/foo
pwsh> git checkout -b feature/foo ↲ <user would have to just hit the enter key at this point as the command has already been typed in while waiting for the previous command to complete>

Originally created by @sachinjoseph on GitHub (Jan 28, 2020). Many common commands take a few seconds to complete, and the command that follows is usually known in advance. A common command-flow example: **pwsh**> git checkout master ↲ `<wait for command to complete>` **pwsh**> git pull ↲ `<wait for command to complete>` **pwsh**> git checkout -b feature/foo ↲ Now, after typing in "git checkout master↲", there's a short wait for the command to complete. The next command can be typed in during this wait, but they are not displayed. Can we display what's being typed in while some command is executing? Then, the flow becomes something like: **pwsh**> git checkout master ↲ `<see characters typed in while waiting for the previous command>` git pull **pwsh**> git pull ↲ `<user would have to just hit the enter key at this point as the command has already been typed in while waiting for the previous command to complete>` `<see characters typed in while waiting for the previous command>` git checkout -b feature/foo **pwsh**> git checkout -b feature/foo ↲ `<user would have to just hit the enter key at this point as the command has already been typed in while waiting for the previous command to complete>`
claunia added the Issue-FeatureNeeds-TriageResolution-ExternalNeeds-Tag-Fix labels 2026-01-31 00:31:53 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Jan 28, 2020):

This is, strictly-speaking, up to the application that's receiving input. I think there's a duplicate for this laying around somewhere else in out repo, but I can't find it at the moment.

@DHowett-MSFT commented on GitHub (Jan 28, 2020): This is, strictly-speaking, up to the application that's receiving input. I think there's a duplicate for this laying around somewhere else in out repo, but I can't find it at the moment.
Author
Owner

@DHowett-MSFT commented on GitHub (Jan 28, 2020):

The console backing the terminal has a mode where it will echo all user input; engaging this is an application's choice.

@DHowett-MSFT commented on GitHub (Jan 28, 2020): The console backing the terminal has a mode where it will echo all user input; engaging this is an application's choice.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6187