Skip to content

Feature Request for the necessary features required for the PowerShell Engine to have Mouse Events #89694

Open

Description

I am not a programmer nor a technically minded person, please pardon me.

Currently as it stands, in PowerShell its not possible to perform standard everyday mouse operations on a command currently being typed, just as one is able to do so in a standard windows text box:

I believe its possible to do this sort of thing in other environments such as:

  • Msys2
  • Cygwin
  • Wsl on Mintty
  • WSL on Windows Terminal
  • etc

Microsoft seems to be pushing for a revitalised Command Line experience with Windows Terminal/PowerShell Core, for the every day PC user not just for the programmer. I would say mouse interaction is at the core of this.

The windows Terminal team have expressed they want to do this and are currently working on their implementation that rellies on emulating keyboard keys such as Left, Right, Issue #8573. It seems their implantation will be highly limited.

The PowerShell/PsReadLine team are also open to implementing mouse interaction, Issue #1982, but they are lacking the necessary facilities to do so in the .NET engine.

Can we please consider having the necessary features in .NET so that mouse interaction is available as a first class feature in PowerShell Core?

To learn more about this request please take a look at the following pages:

Thanks allot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions