PSReadLine
2.0.0-beta1
Great command line editing in the PowerShell console host
Minimum PowerShell version
5.0
See the version list below for details.
Installation Options
Owners
Copyright
(c) Microsoft Corporation. All rights reserved.
Package Details
Author(s)
- Microsoft Corporation
Cmdlets
Get-PSReadLineKeyHandler Set-PSReadLineKeyHandler Remove-PSReadLineKeyHandler Get-PSReadLineOption Set-PSReadLineOption
Functions
Dependencies
This module has no dependencies.
Release Notes
### Version 2.0
Pre-release notes:
There are known issues:
* Some custom key bindings are broken (#580)
Breaking changes:
* Requires PowerShell V5 or later and .Net 4.6.1
* Set-PSReadLineOption options have changed
- To specify colors, use the new `-Color` parameter and pass a Hashtable
- All other color options have been removed include `-ResetTokenColors`
- To specify background colors, you must now use a VT escape sequence.
* Changing the end of the prompt to red may not work automatically anymore if
your prompt is non-trivial. To fix, use `Set-PSReadLineOption -PromptText "> "`.
* Consistently use `PSReadLine` instead of `PSReadline` everywhere, APIs, cmdlets, files, etc.
* Building requires VS2017
New features:
* Interactive filtering during menu complete (#515) (Thanks @MVKozlov!)
* Redirected input now works (#564) (Thanks @parkovski!)
* Tooltips always on in MenuComplete (only displayed
if they give more information than the completion.)
* Get-PSReadLineKeyHandler output is grouped by category. (#114)
* Support for VT escape sequences to specify colors.
* Shift+Insert bound to Paste in Windows mode (#484)
* Ctrl+t bound to SwapCharacters in Emacs mode (#538) (Thanks andrewcromwell!)
* Ctrl+x,Ctrl+e bound to ViEditVisually in Emacs mode (#478)
* HistoryNoDuplicates is now on by default (#208)
Bug fixes:
* DeleteChar no longer deletes any text left of the cursor in Windows/Emacs
and matches vim behavior of working like <x> in command mode.
* Fix InvokePrompt when the prompt is > 1 line.
* Fix YankToPercent off by 1 error.
* Fix error reported when running in container.
* Catch and ignore execptions in InvokePrompt (#583)
* Get new completions on 2nd tab if 1st had 1 result (#238)
* Tab replaced with 4 spaces during paste (#144)
* Fix rendering after buffer resize (#418)
* Invoke external editor w/o AcceptLine (#339)
* Fix exception with UpArrow after a command line edit in vi-mode (#573) (Thanks @srdubya!)
* Treat DingDuration=0 as BellStyle.None (#364)
* Color long name parameters like --force as a parameter (#398)
* Allow CaptureScreen to be used w/o a key binding (#419)
* Ignore duplicates during tab completion (#413)
* Fix exception with negative count in Delete (#502)
* Use correct help file name (#507)
* Fix exception in ShowKeyBinding w/ custom handler (#505)
* Normalize filename for saving history (#512)
* Treat end of buffer as whitespace for vi words (#536)
* Fix exception with invalid CompletionResult (#534)
* Fix exception with negative count in Kill* (#540) (Thanks andrewcromwell!)
* Fixes to SwapCharacters (#538) (Thanks andrewcromwell!)
* Fix cursor placement with CJK characters (#542)
* Fix key bindings with certain Windows keyboard layouts (#168 #556)
* Remove Ding from Backspace on an empty line (#422)
* Fix occasional hang reading history file (#524)
* HistorySearchCursorMovesToEnd previously only worked in incremental search.
It is now on by default, honored in the non-incremental search (HistorySearch)
and also in Vi Command mode for non-search history recall. (#438 #530) (Thanks @srdubya!)
FileList
- PSReadLine.nuspec
- Changes.txt
- License.txt
- Microsoft.PowerShell.PSReadLine2.dll
- PSReadLine.format.ps1xml
- PSReadLine.psd1
- PSReadLine.psm1
- SamplePSReadLineProfile.ps1
- System.Runtime.InteropServices.RuntimeInformation.dll
- en-US\about_PSReadLine.help.txt
- en-US\Microsoft.PowerShell.PSReadLine2.dll-help.xml
Version History
Version | Downloads | Last updated |
---|---|---|
2.4.0-beta0 | 30,741 | 3/2/2024 |
2.3.6 | 438,332 | 10/3/2024 |
2.3.5 | 1,234,928 | 4/3/2024 |
2.3.4 | 608,509 | 10/3/2023 |
2.3.3 | 19,589 | 9/18/2023 |
2.3.2-beta2 | 4,867 | 8/17/2023 |
2.3.1-beta1 | 13,342 | 5/3/2023 |
2.3.0-beta0 | 7,720 | 3/8/2023 |
2.2.6 | 413,500 | 6/27/2022 |
2.2.5 | 71,426 | 5/3/2022 |
2.2.4-beta1 | 1,851 | 4/27/2022 |
2.2.3 | 18,250 | 4/20/2022 |
2.2.2 | 82,683 | 2/22/2022 |
2.2.1-rc1 | 8,102 | 1/28/2022 |
2.2.0-beta5 | 10,362 | 1/7/2022 |
2.2.0-beta4 | 36,396 | 10/27/2021 |
2.2.0-beta3 | 31,082 | 6/1/2021 |
2.2.0-beta2 | 23,710 | 2/23/2021 |
2.2.0-beta1 | 27,171 | 11/4/2020 |
2.1.0 | 394,224 | 11/2/2020 |
2.1.0-rc1 | 4,407 | 10/13/2020 |
2.1.0-beta2 | 23,062 | 6/6/2020 |
2.1.0-beta1 | 11,941 | 4/7/2020 |
2.0.4 | 23,653 | 8/5/2020 |
2.0.3 | 5,121 | 7/22/2020 |
2.0.2 | 28,525 | 6/5/2020 |
2.0.1 | 75,237 | 4/1/2020 |
2.0.0 | 23,530 | 2/11/2020 |
2.0.0-rc2 | 6,010 | 1/14/2020 |
2.0.0-rc1 | 7,038 | 12/11/2019 |
2.0.0-beta6 | 4,647 | 11/14/2019 |
2.0.0-beta5 | 13,057 | 9/13/2019 |
2.0.0-beta4 | 14,739 | 5/7/2019 |
2.0.0-beta3 | 30,758 | 9/4/2018 |
2.0.0-beta2 | 7,523 | 6/4/2018 |
2.0.0-beta1 (current version) | 2,280 | 12/6/2017 |
1.2 | 114,306 | 1/25/2016 |
1.0.0.13 | 13,378 | 2/18/2015 |
1.0.0.12 | 997 | 8/26/2014 |
1.0.0.11 | 417 | 6/13/2014 |
1.0.0.10 | 298 | 6/13/2014 |
1.0.0.9 | 298 | 6/11/2014 |
1.0.0.8 | 455 | 5/7/2014 |