PowerShell / PowerShell/vscode-powershell

(Preview) PSReadLine Keyboard Commands do not work in the PowerShell Integrated Console (OSX)

Open
#2,114 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Extension Terminal Issue-Bug OS-Linux OS-macOS
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

System Details Output

### VSCode extensions:
alefragnani.Bookmarks@10.4.4
bmarkovic.haproxy@0.1.2
bungcip.better-toml@0.3.2
castwide.solargraph@0.20.0
eriklynd.json-tools@1.0.2
foxundermoon.shell-format@6.1.1
hangxingliu.vscode-systemd-support@0.1.1
iciclesoft.workspacesort@1.5.7
idleberg.applescript@0.14.2
joshuapoehls.json-escaper@1.1.0
mads-hartmann.bash-ide-vscode@1.3.3
maelvalais.autoconf@0.1.0
mauve.terraform@1.3.12
ms-azuretools.vscode-docker@0.7.0
ms-python.python@2019.6.24221
ms-vscode.Go@0.11.4
ms-vscode.powershell@2019.5.0
ms-vscode.powershell-preview@2019.5.0
rebornix.ruby@0.24.2
rogalmic.bash-debug@0.3.5
ryu1kn.partial-diff@1.4.0
shanoor.vscode-nginx@0.6.0
timonwong.shellcheck@0.7.0
zhouronghui.propertylist@0.0.2


### PSES version: 2.0.0.0

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      7.0.0-preview.2
PSEdition                      Core
GitCommitId                    7.0.0-preview.2
OS                             Darwin 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Issue Description

PSReadLine Keyboard Commands do not work in the PowerShell Integrated Console

Expected Behaviour

Using keyboard combinations which are bound are executed.

Actual Behaviour

Attempting to use any keyboard commands does not work.

e.g. pressing Ctrl+l does nothing, even though it's bound by default to the below action

Ctrl+l        ClearScreen       Clear the screen and redraw the current line at the top of the screen
Attached Logs

N\A

Additional Notes

ms-vscode.powershell@2019.5.0 is disabled, I'm using ms-vscode.powershell-preview@2019.5.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the PowerShell Integrated Console on macOS using the preview extension and verify whether bound PSReadLine commands such as Ctrl+l are ignored. Done means keyboard commands execute as expected in the integrated console; the payload names no source files or tests to inspect.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, vscode
Domain
cli, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.