-
Notifications
You must be signed in to change notification settings - Fork 494
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
Ctrl-C and other Alt- and Ctrl- keys are ignored or wrongly interpreted #2452
Comments
It sounds like you're using the legacy readline, which is currently what's used in the stable extension. The behaviours you're after come from a PowerShell module called PSReadLine, which will be brought into stable when PowerShell 7 is released next month. You'll need to use PowerShell 7 with it, since PowerShell 6 has a bug in it that compromises the PSReadLine experience. If you'd like to try this out now, you can install PowerShell 7.0.0-rc.2 and the I'll deduplicate this to #535. Please let me know if this doesn't sound accurate and we can reopen. |
|
This issue has been marked as duplicate and has not had any activity for 1 day. It has been closed for housekeeping purposes. |
Thank you. The PowerShell-Preview extension works fine! |
Issue Type: Bug
The PowerShell Integrated Console ignores some keypresses (like "Crtl-C") and some others (like "Atl-Arrows" and "Cmd-Arrows") are wrongly interpreted and show some letters instead of doing a cursor movements on MacOS.
How to reproduce:
Type a text into PowerShell Integrated Console on MacOS and press Crtl-C. Nothing happens. Expected is termination of the input and jump to a prompt on a new line.
Type a text into PowerShell Integrated Console on MacOS and press Alt-[<-]. "b" is displayed. Expected behaviour: Move cursor to a word on the left.
Extension version: 2020.1.0
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:57:51.166Z)
OS version: Darwin x64 17.7.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: unavailable_off
protected_video_decode: unavailable_off
rasterization: unavailable_off
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: