terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Leaked terminal escape codes into shell text

Open jfpoirier-x2o opened this issue 2 years ago • 1 comments

Windows Terminal version

1.15.2874.0

Windows build number

10.0.20348.0

Other Software

Client: Windows 10.0.19045.0 Remote Desktop Client 10.0.19041

Steps to reproduce

  1. Connect to Windows Server 2022 over RDP
  2. Launch Windows Terminal
  3. Focus out of RDP session (to browse web on local station, for example)
  4. Focus back into the Windows Terminal-over-RDP session by clicking into the WT session

Expected Behavior

Nothing gets appended/written to shell.

Actual Behavior

Partial-to-complete terminal emulation code are written out to shell.

Examples obtained by added "debugFeatures": true to settings.json and using the double-alt split-screen terminal debug, then focusing out of RDP and back into the terminal session: image image

jfpoirier-x2o avatar Dec 12 '22 19:12 jfpoirier-x2o

This may have been floating around for a while. Thanks for the report. We'll look into it and appropriately triage this when someone does that.

carlos-zamora avatar Dec 14 '22 22:12 carlos-zamora

Hey #15919 has quite a bit more details than this thread, so we'll combine with that one. Thanks! /dup #15919

zadjii-msft avatar Oct 04 '23 20:10 zadjii-msft

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!