-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Labels
Needs-Triage 🔍It's a new issue that core contributor team needs to triage.It's a new issue that core contributor team needs to triage.
Description
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/AScreenshot
N/A
Environment data
PS Version: 7.5.4
PS HostName: ConsoleHost (Windows Terminal)
PSReadLine Version: 2.4.5
PSReadLine EditMode: Windows
OS: 10.0.26100.1 (WinBuild.160101.0800)
BufferWidth: 133
BufferHeight: 38Steps to reproduce
- Set
Set-PSReadLineOption -MaximumHistoryCount 200000 - Not so sure how to arbitrarily fill the history but you need to ensure your history at
(cat (get-psreadLineOption).HistorySavePath | Measure-Object).Countis over5128 - Get the first item from history
cat (get-psreadLineOption).HistorySavePath -First 1 - Start typing the string from Step 3 in powershell, the history predictor does not show up anything even thought the item is already in PSReadline history
Expected behavior
The step 4 above should show the item from PSReadline history
Actual behavior
The step 4 above does not show the item from PSReadline history. It seems like the last item it will be show is (Current History Count)-5127
Metadata
Metadata
Assignees
Labels
Needs-Triage 🔍It's a new issue that core contributor team needs to triage.It's a new issue that core contributor team needs to triage.