Open
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues, especially the pinned issues.
Exception report
N/A
Screenshot
Environment data
PS Version: 7.4.5
PS HostName: ConsoleHost (Windows Terminal)
PSReadLine Version: 2.3.5
PSReadLine EditMode: Emacs
OS: 10.0.19041.1 (WinBuild.160101.0800)
BufferWidth: 120
BufferHeight: 9001
Steps to reproduce
Run pwsh -noprofile
for pure powershell start
Run Set-PSReadLineOption -BellStyle None -EditMode Emacs
to bind emacs hotkeys, and ctrl+h
can delete a character backward now.
Input ls -
then press ctrl+space
for MenuComplete, The Path
is first completion so get highlighted
Press L
and the LiteralPath
is the possible completion, while the iteralPath
is highlighted
Press ctrl+h
Expected behavior
Should be same as pressing backspace.
The actual command should be ls -
and following a highlit Path
Actual behavior
The actual command becomes ls -iteralPath
.
While the cursor is at character i
.
It accepts the completion then delete a character backward.