Is it possible to use enter keyto relaunch the configured command again after process exiting for exception? #14461

Closed
opened 2026-01-31 04:10:59 +00:00 by claunia · 2 comments
Owner

Originally created by @sshxmz on GitHub (Jul 11, 2021).

Windows Terminal version: 1.8.1521.0

I use Windows Terminal with ssh.exe to connect my Linux host. I add a profile with specified command ("ssh.exe hostname") .

When connection to the host is closed, ssh process exits. I have to clone or launch a new tab to reconnect. Is it possible to add a feature: when process specified exits, 'enter' key can relaunch the command in the old tab?

Thank you very much.

Originally created by @sshxmz on GitHub (Jul 11, 2021). Windows Terminal version: 1.8.1521.0 I use Windows Terminal with ssh.exe to connect my Linux host. I add a profile with specified command ("ssh.exe hostname") . When connection to the host is closed, ssh process exits. I have to clone or launch a new tab to reconnect. Is it possible to add a feature: when process specified exits, 'enter' key can relaunch the command in the old tab? Thank you very much.
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 04:10:59 +00:00
Author
Owner

@KalleOlaviNiemitalo commented on GitHub (Jul 11, 2021):

https://github.com/microsoft/terminal/issues/4379 may cover this.

@KalleOlaviNiemitalo commented on GitHub (Jul 11, 2021): <https://github.com/microsoft/terminal/issues/4379> may cover this.
Author
Owner

@sshxmz commented on GitHub (Jul 12, 2021):

#4379 may cover this.

Yes, I will follow that request. Thank you.

@sshxmz commented on GitHub (Jul 12, 2021): > #4379 may cover this. Yes, I will follow that request. Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14461