terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Show last command in tab & Windows taskbar

Open oSumAtrIX opened this issue 1 year ago • 1 comments

Description of the new feature/enhancement

Often, you have multiple windows of Terminal open:

Image

The same issue occurs in the tabs:

Image

This is troublesome as you forget which window is which.

One can rename the tab, but this is often impractical for quick tasks:

Image

An option to show the last typed command (trimmed is fine) would easily solve this situation. You'd know which window or tab is which because of the last command:

Image

oSumAtrIX avatar Oct 15 '24 22:10 oSumAtrIX

I quite like the concept, Maybe I will make a contribution related to this requested feature

Iweisc avatar Oct 16 '24 11:10 Iweisc

This is something that's more a shell (CMD, PowerShell, Bash) feature rather than a terminal one. The Terminal doesn't really know what's running in it, or when a sub-command is started/ended. But the shell does know, and it can always set the title of the window/tab itself.

In fact, CMD.exe already does this 😉 Image

zadjii-msft avatar Oct 21 '24 11:10 zadjii-msft