Repository: vscode
Issue: Terminal - vscode.dev - remote tunnels - No shell integration in default terminal that is opened
Labels: bug,web,terminal-shell-integration

MacOS Big Sur 11.7.2
Edge Browser

```
Version: 1.75.0-insider
Commit: 89e427274e1c9e555f8bfa21bd1e9c50c0225403
Date: 2023-01-11T16:46:25.875Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Darwin x64 20.6.0
Sandboxed: Yes
```

- Start VS Code Insiders
- Turn on Remote Tunnels Access
- Copy URL
- On same machine, browse to the URL
- VS Code Web opens *with the Terminal open*
- Type in something like `git statusss` to trigger a Quick Fix

Result: No quick fix, no shell integration. 

- Open a second terminal
- Type in something like `git statusss` to trigger a Quick Fix

Result: Works!  Can see results of commands, etc.

On the left: the 2nd terminal opened. on the right, the default terminal that is opened by default

![image](https://user-images.githubusercontent.com/1487073/211958408-98f87c42-571c-422e-9b06-a31a15acfa20.png)

I don't see a way to turn the Log Level to Trace, but after turning it on and then loading the second terminal I see this:

```
2023-01-11 17:58:22.754 [trace] ptyService#setLayoutInfo [{"isActive":true,"activePersistentProcessId":2,"terminals":[{"relativeSize":1,"terminal":2}]}]
2023-01-11 17:58:23.077 [debug] MutationLogger "Persistent process "2" interaction state" set to "Session", reason: input
2023-01-11 17:58:23.078 [trace] IPty#write e
2023-01-11 17:58:23.084 [trace] IPty#onData e
2023-01-11 17:58:23.252 [trace] IPty#write x
2023-01-11 17:58:23.253 [trace] IPty#onData ex
2023-01-11 17:58:23.312 [trace] IPty#write i
2023-01-11 17:58:23.313 [trace] IPty#onData i
2023-01-11 17:58:23.477 [trace] IPty#write t
2023-01-11 17:58:23.478 [trace] IPty#onData t
2023-01-11 17:58:23.583 [trace] IPty#write 
2023-01-11 17:58:23.584 [trace] IPty#onData [?1l>
2023-01-11 17:58:23.585 [trace] IPty#onData [?2004l


2023-01-11 17:58:23.588 [trace] IPty#onData ]2;exit]1;exit
2023-01-11 17:58:23.875 [trace] IPty#kill
2023-01-11 17:58:24.469 [trace] ptyService#setLayoutInfo []
2023-01-11 17:59:06.527 [trace] IPty#resize 145 26
2023-01-11 17:59:06.585 [trace] IPty#onData 

[0m[27m[24m[J[32m~/src/thecatsaidnode [01;34m(main [32m✔[01;34m)[00m $ 
2023-01-11 17:59:06.845 [trace] persistentTerminalProcess#ctor 5 [object Arguments]
2023-01-11 17:59:06.846 [debug] MutationLogger "Persistent process "5" interaction state" set to "None", reason: initialized
2023-01-11 17:59:06.920 [trace] ptyService#start 5
2023-01-11 17:59:06.920 [trace] persistentTerminalProcess#start 5 false
2023-01-11 17:59:07.024 [trace] ptyService#setLayoutInfo [{"isActive":false,"activePersistentProcessId":4,"terminals":[{"relativeSize":1,"terminal":4}]},{"isActive":true,"activePersistentProcessId":5,"terminals":[{"relativeSize":1,"terminal":5}]}]
2023-01-11 17:59:07.087 [trace] IPty#spawn /bin/zsh ["-il"] {"name":"xterm-256color","cwd":"/Users/chris/src/thecatsaidnode","env":{"SHELL":"/bin/zsh","TMPDIR":"/var/folders/_x/rp_3sqnx5fg0g6nm50zv5n_00000gn/T/","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","MallocNanoZone":"0","USER":"chris","COMMAND_MODE":"unix2003","SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.KyI5V4fw3w/Listeners","__CF_USER_TEXT_ENCODING":"0x1F5:0x0:0x0","PATH":"/Users/chris/.vscode-cli/server-insiders/bin/12515569ae440cf7ccc02d4649a25f2c77909557/bin/remote-cli:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Apple/usr/bin","__CFBundleIdentifier":"com.microsoft.VSCodeInsiders","PWD":"/Users/chris","XPC_FLAGS":"0x0","XPC_SERVICE_NAME":"0","SHLVL":"1","HOME":"/Users/chris","LOGNAME":"chris","DISPLAY":"/private/tmp/com.apple.launchd.tjOyfOt27j/org.macosforge.xquartz:0","_":"/Users/chris/.vscode-cli/server-insiders/bin/12515569ae440cf7ccc02d4649a25f2c77909557/node","OLDPWD":"/Users/chris","ZSH":"/Users/chris/.oh-my-zsh","PAGER":"less","LESS":"-R","LSCOLORS":"Gxfxcxdxbxegedabagacad","BROWSER":"/Users/chris/.vscode-cli/server-insiders/bin/12515569ae440cf7ccc02d4649a25f2c77909557/bin/helpers/browser.sh","TERM_PROGRAM":"vscode","TERM_PROGRAM_VERSION":"1.75.0-insider","LANG":"en_US.UTF-8","COLORTERM":"truecolor","GIT_ASKPASS":"/Users/chris/.vscode-cli/server-insiders/bin/12515569ae440cf7ccc02d4649a25f2c77909557/extensions/git/dist/askpass.sh","VSCODE_GIT_ASKPASS_NODE":"/Users/chris/.vscode-cli/server-insiders/bin/12515569ae440cf7ccc02d4649a25f2c77909557/node","VSCODE_GIT_ASKPASS_EXTRA_ARGS":"","VSCODE_GIT_ASKPASS_MAIN":"/Users/chris/.vscode-cli/server-insiders/bin/12515569ae440cf7ccc02d4649a25f2c77909557/extensions/git/dist/askpass-main.js","VSCODE_GIT_IPC_HANDLE":"/var/folders/_x/rp_3sqnx5fg0g6nm50zv5n_00000gn/T/vscode-git-c7e9ec84d9.sock","VSCODE_IPC_HOOK_CLI":"/var/folders/_x/rp_3sqnx5fg0g6nm50zv5n_00000gn/T/vscode-ipc-9637033d-35cc-44aa-999c-73e36dc22120.sock","VSCODE_INJECTION":"1","ZDOTDIR":"/var/folders/_x/rp_3sqnx5fg0g6nm50zv5n_00000gn/T/chris-code-insiders-zsh","USER_ZDOTDIR":"/Users/chris"},"cols":145,"rows":26,"useConpty":false,"conptyInheritCursor":false}
2023-01-11 17:59:07.173 [trace] IPty#resize 145 26
2023-01-11 17:59:07.449 [trace] IPty#onData [1m[7m%[27m[1m[0m                                                                                                                                                
 
2023-01-11 17:59:07.449 [trace] IPty#onData ]2;chris@Chriss-MacBook-Pro-4:~/src/thecatsaidnode]1;..hecatsaidnode]633;D
2023-01-11 17:59:07.451 [trace] IPty#onData ]633;P;Cwd=/Users/chris/src/thecatsaidnode
2023-01-11 17:59:07.458 [debug] CommandDetectionCapability#handleCommandFinished 0 0 undefined {"commandFinishedMarker":{"line":0,"isDisposed":false,"_disposables":[{"_listeners":[null],"_disposed":false},{},{},{},{}],"_id":1,"_onDispose":{"_listeners":[null],"_disposed":false}}}
2023-01-11 17:59:07.522 [trace] IPty#onData 
[0m[27m[24m[J]633;A[32m~/src/thecatsaidnode [01;34m(main [32m✔[01;34m)[00m $ ]633;B[K
2023-01-11 17:59:07.522 [trace] IPty#onData [?1h=
2023-01-11 17:59:07.523 [trace] IPty#onData [?2004h
2023-01-11 17:59:07.529 [debug] CommandDetectionCapability#handlePromptStart 0 0
2023-01-11 17:59:07.529 [debug] CommandDetectionCapability#handleCommandStart 32 0
2023-01-11 17:59:07.667 [trace] ptyService#setLayoutInfo [{"isActive":false,"activePersistentProcessId":4,"terminals":[{"relativeSize":1,"terminal":4}]},{"isActive":true,"activePersistentProcessId":5,"terminals":[{"relativeSize":1,"terminal":5}]}]

```