-
Notifications
You must be signed in to change notification settings - Fork 327
AcceptAndGetNext is skipping #990
Copy link
Copy link
Open
Labels
Area-KeyHandlersLabel for issues related to key handlersLabel for issues related to key handlersIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.
Milestone
Metadata
Metadata
Assignees
Labels
Area-KeyHandlersLabel for issues related to key handlersLabel for issues related to key handlersIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
When I set a hotkey for
AcceptAndGetNextI expect to be able to replay a few commands from history in order, by just pressing it repeatedly, but it keeps skipping commands.Environment data
PS version: 5.1.18950.1000
PSReadline version: 2.0.0-beta4
os: 10.0.18950.1000 (WinBuild.160101.0800)
PS file version: 10.0.18950.1000 (WinBuild.160101.0800)
BufferWidth: 130
BufferHeight: 6000
And Also
PS version: 7.0.0-preview.2
PSReadline version: 2.0.0-beta4
os: 10.0.18950.1000 (WinBuild.160101.0800)
PS file version: 7.0.0.0
BufferWidth: 120
BufferHeight: 27
Steps to reproduce or exception report
When I set a hotkey (e.g.
Ctrl+korCtrl+Enter) forAcceptAndGetNextThen I type a few commands and hit enter after each:
Write-Host "One"
Write-Host "Two"
Write-Host "Three"
Write-Host "Four"
Write-Host "Five"
Then I hit up-arrow until I get back to "One" and hit the hotkey (e.g.
Ctrl+k) a couple of times, it skips from "One" to "Three" to "Five" ...