mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
cli: only show other interactive attach commands when in a terminal (#181163)
* testing: another fix to avoid automatically queuing Fixes #180041 again * cli: only show other interactive attach commands when in a terminal Fixes #178091
This commit is contained in:
parent
a07d58a713
commit
43e0111e14
|
@ -39,15 +39,15 @@ struct SingletonServerContext {
|
|||
}
|
||||
|
||||
const CONTROL_INSTRUCTIONS_COMMON: &str =
|
||||
"Connected to an existing tunnel process running on this machine. You can press:
|
||||
|
||||
- \"x\" + Enter to stop the tunnel and exit
|
||||
- \"r\" + Enter to restart the tunnel
|
||||
";
|
||||
"Connected to an existing tunnel process running on this machine.";
|
||||
|
||||
const CONTROL_INSTRUCTIONS_INTERACTIVE: &str = concatcp!(
|
||||
CONTROL_INSTRUCTIONS_COMMON,
|
||||
"- Ctrl+C to detach
|
||||
" You can press:
|
||||
|
||||
- \"x\" + Enter to stop the tunnel and exit
|
||||
- \"r\" + Enter to restart the tunnel
|
||||
- Ctrl+C to detach
|
||||
"
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue