Skip to content

PowerShell.OnIdle seems not to fire in PSReadline 2.0 beta #773

Closed

Description

@nickcox

Environment data

PS version: 5.1.17134.228
PSReadline version: 2.0.0-beta1
os: 10.0.17134.1 (WinBuild.160101.0800)
PS file version: 10.0.17134.1 (WinBuild.160101.0800)

Steps to reproduce or exception report

> Register-EngineEvent -SourceIdentifier PowerShell.OnIdle -Action {Write-Host 'test message'}
# ...nothing happens
> Remove-Module PSReadline
> test message
test message
test message
...

Activity

  1. SeeminglyScience commented on Oct 11, 2018

    @SeeminglyScience
    Collaborator

    nickcox It looks like you are on a slightly older beta build. Could you try updating to 2.0.0-beta3 see if it still happens for you?

  2. lzybkr commented on Oct 12, 2018

    @lzybkr
    Contributor

    I can't reproduce this with 2.0.0-beta3 in Windows PowerShell or PowerShell Core.

    I saw the same issue reported here - PowerShell/PowerShell#8000 - maybe there's something common about the environments to suggest where the problem lies.

  3. nickcox commented on Oct 12, 2018

    @nickcox
    Author

    Yep, apologies, it's working fine in 2.0.0-beta3. 🖖

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions