List completion view and ShowParameterHelp causes display issues

Open
#3,319 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
csharp
Domain
cli

Research direction

Reproduce the issue in PSReadLine 2.2.3 using Windows Terminal with list prediction view enabled, then invoke parameter help with Alt+H. Search the repository for the list prediction view and parameter-help handling to identify the rendering entry points. Done means both views remain usable together without parameter help overwriting prediction results.

Written by the indexing model from the issue text.

Description

Area-Predictors Issue-Bug
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

ParameterHelpDisplayIssue

Environment data
PS Version: 7.2.4
PS HostName: ConsoleHost (Windows Terminal)
PSReadLine Version: 2.2.3
PSReadLine EditMode: Windows
OS: 10.0.19041.1 (WinBuild.160101.0800)
BufferWidth: 120
BufferHeight: 30
Steps to reproduce
  1. Enable list prediction view
  2. Pull up a command with predictions
  3. Try to pull up parameter help (alt+h)
  4. Parameter help will clobber over the list completion view results
Expected behavior

List completion view and parameter help will work together.

Actual behavior

Parameter help will write over the list completion view results.

Dominant language
C#
Stars
4.4k
Forks
341
PR merge metrics
No merged PRs in 30d

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.

More from PowerShell/PSReadLine

All issues in PowerShell/PSReadLine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.