17 Commits
Author SHA1 Message Date
Dongbo Wang 4a724547a8 Add the ScreenReaderModeEnabled property to formatting (#4970)
Add the `ScreenReaderModeEnabled` property to formatting so it's displayed in the default formatting for `Get-PSReadLineOption`.
2025-10-14 12:24:07 -07:00
Dan Thompson 4d78ce153d Add the TerminateOrphanedConsoleApps option on Windows to kill orphaned console-attached process that may mess up reading from Console input (#3764) 2023-08-09 10:51:26 -07:00
Dongbo Wang ae08ca6caf Support tooltip rendering in the prediction list view (#3667) 2023-05-02 16:52:19 -07:00
Dongbo Wang fd1265e385 Add the prediction ListView and also hook up with the CommandPrediction APIs introduced in PS 7.1 (#1909) 2020-11-03 14:17:37 -08:00
Dongbo Wang b33e222642 Rename 'PredictionColor' to 'InlinePredictionColor' (#1860) 2020-10-08 10:16:28 -07:00
Dongbo Wang 9e6c6b9481 Add basic support for inline predictive suggestion (#1496) 2020-05-09 15:44:04 -07:00
Dan Thompson 2101854bf6 Get-PSReadLineOption should show AnsiEscapeTimeout (#800) 2018-11-09 10:40:51 -08:00
Parker Snell c6dabcf9f9 Add script block vi mode indicator option 2018-09-12 10:23:59 -07:00
Jason Shirk 217ab4fe88 Add SelectionColor to format.ps1xml 2017-12-01 17:04:13 -08:00
Jason Shirk b2c04745e0 Don't add immediate duplicates to history
Also add a public api to access PSReadLine history (helpful in testing
this change.

Fix #562 #533
2017-11-26 17:51:46 -08:00
Jason Shirk 46d232c22a s/PSReadline/PSReadLine/g
I was terribly inconsistent.

This is a breaking change, though unlikely to cause troubles.
The apis are mostly used in PowerShell scripts which is not
case sensitive.
The cmdlet name change is also mostly safe.

At any rate, this is version 2.0 and breaking changes should be OK.
2017-11-25 21:59:55 -08:00
Jason Shirk 3412b1a91b ShowKeyBindings and Get-PSReadlineKeyBinding improvements
Fix #114
2017-11-11 22:55:59 -08:00
Jason Shirk 69d8074f71 Escape escapes in Get-PSReadLineOption output 2017-10-16 15:07:49 -07:00
Jason Shirk (POWERSHELL) 6f741c5421 Startup improvements
- Delay loading resources until they are used
- Delay creating vi mode key handler tables
- Remove format.ps1xml file
2016-01-17 08:58:07 -08:00
Jason Shirk (POWERSHELL) c986e0eae5 Rename namespace PSConsoleUtilities to Microsoft.PowerShell 2015-06-18 15:32:20 -07:00
jason@truewheels.net 1e2dee3285 Unbound functions in Get-PSReadlineKeyHandler
Get-PSReadlineKeyHandler will now return unbound functions by default.

A couple of parameters were added so you can get just the bound/unbound
parameters if so desired.

OutputType was also added to Get-PSReadlineKeyHandler.

The OutputType was cleaned up a bit - BriefDescription was renamed to Function
and LongDescription was renamed to ShortDescription.
2013-12-10 15:34:48 -08:00
Jason Shirk 2d5b7ce50f Make this more of a real module. 2013-07-14 00:25:29 -07:00