Skip to content

System.NullReferenceException on alt+h #2930

@mgpinf

Description

@mgpinf

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

alt + h raises System.NullReferenceException

Screenshot

Console state right before exception
image

Environment data

PS Version: 7.1.5
PS HostName: ConsoleHost (Windows Terminal)
PSReadLine Version: 2.2.0-beta2
PSReadLine EditMode: Vi
OS: 10.0.22000.1 (WinBuild.160101.0800)
BufferWidth: 208
BufferHeight: 48

Steps to reproduce

Open powershell (latest-version cross-platform)
Enter the keybinding alt + h

Expected behavior

Dynamic help for parameters like menu-complete

Actual behavior

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions