Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workbench.action.terminal.deleteWordLeft Doesn't Work, Outputs ^W #59071

Closed
CoryOwens opened this issue Sep 20, 2018 · 1 comment
Closed

workbench.action.terminal.deleteWordLeft Doesn't Work, Outputs ^W #59071

CoryOwens opened this issue Sep 20, 2018 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) terminal Integrated terminal issues

Comments

@CoryOwens
Copy link

Issue Type: Bug

Steps to Reproduce:

  1. Open the VS Code terminal (Ctrl+`, by default).
  2. Type a command or a word into the terminal. (Ex: foo)
  3. Press Ctrl+Backspace. (By default, Ctrl+Backspace is bound to workbench.action.terminal.deleteWordLeft when terminalFocus.)

Expected result: The word to the left of the cursor is deleted.

Actual result: The character ^W appears in the terminal input line.

This happens even if you change the shortcut. For instance, if you bind Alt+Backspace to workbench.action.terminal.deleteWordLeft, it will it too input ^W.

An older case (#19697) described the same (or at least similar) issue, but was closed as duplicated (#11314), even though the other case was specific to Mac.

VS Code version: Code 1.27.2 (f46c4c4, 2018-09-12T16:17:45.060Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)
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
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 15.93GB (7.95GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
python ms- 2018.8.0
cpptools ms- 0.18.1
PowerShell ms- 1.8.4
code-settings-sync Sha 3.1.2
@CoryOwens CoryOwens changed the title workbench.action.terminal.deleteWordLeft Doesn't Work workbench.action.terminal.deleteWordLeft Doesn't Work, Outputs ^W Sep 20, 2018
@vscodebot vscodebot bot added the terminal Integrated terminal issues label Sep 20, 2018
@Tyriar
Copy link
Member

Tyriar commented Sep 21, 2018

This is likely related to winpty, tracking in #45693

@Tyriar Tyriar closed this as completed Sep 21, 2018
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 21, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

2 participants