Skip to content

Ctrl + C doesn't end running command, Kill Terminal "trashcan" crashes VSCode with some PowerShell commands #72629

Closed

Description

@Inthedriversseat

Issue Type: Bug

Ctrl + C not working:
Ping COMPUTERNAME -n 15
Before command completes, press Ctrl + C
-nothing happens

Kill Terminal "Trashcan" button crashing VSCode:
Run below script or another script that takes a while to run:

$Users = Get-ADUser -Filter *

for ($i = 0; $i -lt $Users.Count; $i++) {
    Write-Host $Users[$i].name
}

Press Kill Terminal button
VSCode freezes then brings up window asking to reload.
image

VS Code version: Code - Insiders 1.34.0-insider (6d5feae, 2019-04-17T09:25:49.535Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E3-1505M v6 @ 3.00GHz (8 x 3000)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.88GB (18.71GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
bracket-pair-colorizer-2 Coe 0.0.28
vsc-material-theme Equ 2.8.2
gc-excelviewer Gra 2.1.32
powershell ms- 1.12.1
code-settings-sync Sha 3.2.9

(1 theme extensions excluded)

Activity

  1. added
    terminal
    on Apr 19, 2019
  2. added
    bug
    terminal-conpty
    windows
    on May 2, 2019
  3. Tyriar commented on May 2, 2019

    @Tyriar
    Contributor

    Upstream issue: microsoft/node-pty#286

  4. added this to the May 2019 milestone on May 2, 2019
  5. Tyriar commented on May 2, 2019

    @Tyriar
    Contributor

    Fix incoming in May release, props to Dustin L. Howett (MSFT) (@DHowett-MSFT) for helping with the fix

  6. added a commit that references this issue on May 22, 2019
    769242b
  7. locked and limited conversation to collaborators on Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugterminalterminal-conptyverifiedwindows

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions