microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
165.01k stars 29.55k forks source link

Holding Shift to select text in integrated terminal doesn't work with tmux #193641

Closed molohov closed 1 year ago

molohov commented 1 year ago

Type: Bug

I'm on a Windows client, using a remote connection to a Linux host. The host is running tmux to retain the session.

I used to be able to select text from the terminal, when tmux is running, by holding Shift and then pressing Ctrl+C. Now, as soon as I let go of the left mouse button, the selection instantly disappears and thus I cannot copy text anymore.

VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z) OS version: Windows_NT x64 10.0.22621 Modes: Remote OS version: Linux x64 6.1.0-11-amd64 Remote OS version: Linux x64 5.15.0-70-generic

Extensions (13) Extension|Author (truncated)|Version ---|---|--- project-manager|ale|12.7.0 better-cpp-syntax|jef|1.17.2 theme-karyfoundation-themes|kar|34.3.0 jupyter-keymap|ms-|1.1.2 remote-containers|ms-|0.309.0 remote-ssh|ms-|0.106.4 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.81.4 vscode-remote-extensionpack|ms-|0.24.0 rose-pine|mvl|2.9.0 vscode-pbtxt|the|0.0.4 vim|vsc|1.26.0 vscode-docker|ms-|1.26.1 (12 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes516:30244333 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263:30792226 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 282f8724:30602487 f6dab269:30613381 2i9eh265:30646982 showlangstatbar:30737416 03d35959:30757346 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30805730 pythonnoceb:30805159 copilotsettingt:30839829 asynctok:30821568 dsvsc013:30795093 dsvsc014:30804076 diffeditorv1:30821571 dsvsc015:30829745 ```
meganrogge commented 1 year ago

/duplicate #192518