1086 Commits
Author SHA1 Message Date
Dongbo Wang d06c417ddc Add github action to pre-triage new issues (#2117)
Add a GitHub Action to pre-triage new issue -- close the issues that are duplicate of #1306 and #1315
2021-01-09 21:51:00 -08:00
jiriurban21 439bd25fe2 Highlight the install command in README.md (#2088) 2021-01-06 10:36:54 -08:00
Maxime Labelle 1f6c5c0bc0 Deleting backward to or until a character should preserve the character under the cursor (#2007) 2020-12-07 11:43:30 -08:00
Maxime Labelle 352edb9c62 Use 'd^' to delete from the first non-blank character of a logical line (#2001) 2020-12-07 11:37:10 -08:00
Dongbo Wang a7fd34f09c Update nuget.config based on guidance (#2003) 2020-12-01 14:31:13 -08:00
Dongbo Wang fb5191c945 Update the release build to use ESRP signing and unify the compliance job (#1983) 2020-11-27 11:22:53 -08:00
Dongbo Wang 7fb13ea5c8 Add readonly modifier to some private fields (#1984) 2020-11-24 13:40:30 -08:00
Anthony Allen b65141ef9e Add argument selection handler to sample profile (#1947) 2020-11-18 14:17:56 -08:00
Dongbo Wang 9f786b3397 Fix three issues with the menu completion (#1946)
1. Fix menu completion to work with the predictive list view (fix #1935 -- regression introduced in 2.2.0-beta1)
2. Fix menu completion to clear lines properly when the menu top changes on re-drawing (regression introduced in 2.2.0-beta1)
3. Fix how `RightArrow`, `LeftArrow`, `UpArrow`, and `DownArrow` navigate in the menu view (enhancement)
2020-11-13 11:20:51 -08:00
Tyler James Leonhardt 726e7c6f29 Include a checkbox to PR template to test in various kinds of terminals (#1936) 2020-11-05 15:59:33 -08:00
Dongbo Wang b3f0d76497 Update ChangeLog for the 2.2.0-beta1 release (#1931) v2.2.0-beta1 2020-11-04 20:20:56 -08:00
Dongbo Wang 417fe5c83b Update the release build to work with new module artifacts (#1930)
- Use a new builder pool, which has the latest PowerShell 7.0.3 available.
- Remove catalog related steps, as the catalog file is unnecessary to PowerShell Gallery now.
- Update the signing xml file to sign the new "Polyfiller" assemblies.
2020-11-04 12:53:03 -08: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 3856776b1d Update ChangeLog and version for the 2.1.0 GA release (#1922) v2.1.0 2020-11-02 15:11:17 -08:00
Dongbo Wang 900dc4c932 Update ChangeLog and version for the 2.1.0-rc1 release (#1875) v2.1.0-rc1 2020-10-13 12:33:48 -07:00
Dongbo Wang 219ffa17c2 Allow MaximumHistoryCount to be set from user's profile (#1869) 2020-10-09 10:42:26 -07:00
Dongbo Wang e08072df24 Fix a rendering issue regarding cleanup of previous logical lines (#1865) 2020-10-09 10:26:28 -07:00
Dongbo Wang b33e222642 Rename 'PredictionColor' to 'InlinePredictionColor' (#1860) 2020-10-08 10:16:28 -07:00
Dongbo Wang 0c649bf88f Fix the inline prediction to not leak color (#1861) 2020-10-07 16:56:42 -07:00
Dongbo Wang 081bde62e2 Correct the descriptions of SelectBackwardsLine and SelectLine (#1857) 2020-10-06 16:14:02 -07:00
Dongbo Wang a6b0e762b6 Use const strings for some often used ANSI control sequences (#1809) 2020-09-14 12:40:25 -07:00
Maxime Labelle a45ab815a8 vi-mode: Add dgg to delete from the beginning of the buffer to the current logical line (#1752) 2020-09-10 11:45:27 -07:00
Maxime Labelle 70249682ed vi-mode: Use dk to delete the previous n logical lines and the current logical line in a multi-line buffer (#1737) 2020-08-12 12:00:22 -07:00
Dongbo Wang 804e7a0dbf Limit the source folder for APIScan in release build (#1731) 2020-08-05 10:05:58 -07:00
Dongbo Wang 04bb23f6d2 Update the release build to satisfy the compliance requirement (#1726) 2020-08-02 16:46:02 -07:00
Sergey Vasin a873097a5e Add comment in SamplePSReadLineProfile.ps1 (#1712) 2020-08-02 16:12:02 -07:00
Dongbo Wang 771af2802a release build: Move compliance tasks before the signing step (#1714) 2020-07-29 16:52:14 -07:00
Maxime Labelle 1d3964160d vi-mode - Make 'dj' delete the current and next n logical lines (#1697) 2020-07-29 16:51:15 -07:00
Maxime Labelle 8b0cc85965 vi-mode: Make 'D' and 'd$' delete to the end of the current logical line (#1695) 2020-07-26 10:26:08 -07:00
Maxime Labelle 8d74e42664 vi-mode: 'dd' now handles single line or multiline buffers consistently (#1694) 2020-07-26 10:25:14 -07:00
Dongbo Wang b1736f67d9 Update build to use .NET 3.1 for compliance (#1702) 2020-07-26 10:19:36 -07:00
Maxime Labelle b875ec3787 Remove duplicated code (#1700) 2020-07-25 16:24:08 -07:00
Maxime Labelle c7ef3bd0f6 vi-mode: Add 'dG' to delete to the end of multiline buffer (#1692) 2020-07-25 11:06:54 -07:00
Dongbo Wang c266e55b59 Improve the bug reporting message (#1698) 2020-07-25 10:53:03 -07:00
Maxime Labelle cd3ca2911d vi-mode: Make 'dd' deletes the logical line instead of the entire buffer (#1658) 2020-07-24 23:08:05 -07:00
Maxime Labelle 6cacbebf8d Fix UpHat (^) in vi-mode to move the cursor while yanking (#1656) 2020-07-13 14:25:38 -07:00
Escape0707 a88c22fd60 Update broken link in README.md (#1631) 2020-07-03 15:59:49 -07:00
Dustin L. Howett 90422ac2ad Teach PSReadline to not force the background color during render (#1626)
Upcoming versions of the Windows Console will be able to differentiate
a color set by the Win32 API from a color set by VT. This code
transforms a Win32 color into a VT color, and then uses that VT color
during rendering. When an enlightened console host receives this VT, it
may handle it differently (translate it differently, reverse it
differently, store it differently). Use `39;49` for the default foreground/background.

We'll also teach the various console implementations how to
handle it.
2020-07-03 15:59:28 -07:00
Dongbo Wang fd9980642c Fix incremental history saving when the history queue is full (#1602) 2020-06-15 10:00:44 -07:00
Dongbo Wang 6c58aff54a Update 'HelpInfoURI' for the PSReadLine module (#1589) 2020-06-11 16:58:30 -07:00
Dongbo Wang ba3ebf27b1 Add an key binding example: ForwardCharAndAcceptNextSuggestionWord (#1601) 2020-06-10 14:02:28 -07:00
Dongbo Wang 2005773497 Update ChangeLog and version for 2.1.0-beta2 release (#1588) v2.1.0-beta2 2020-06-05 11:03:23 -07:00
Dongbo Wang a2a409d7ad Expose 'ViBackwardChar' and 'ViForwardChar' as bindable functions (#1547) 2020-05-25 22:46:13 -07:00
Dongbo Wang 65d332e277 Reset all VT attributes for PromptText if it contains VT sequences (#1544) 2020-05-21 22:48:15 -07:00
Dongbo Wang 2664653ecd Update build as we move help content to PowerShell-Docs (#1537) 2020-05-19 15:08:21 -07:00
Dongbo Wang 1f28287f72 Make 'ViForwardChar' able to accept suggestions (#1528) 2020-05-18 14:16:20 -07:00
Dongbo Wang ba5294f88a Make edit group more stable in VI mode (#1526) 2020-05-18 13:29:29 -07:00
Tyler James Leonhardt 88a21e484f Run script in local scope to make PSReadLine works in PSES in ConstrainedLanguageMode (#1527) 2020-05-14 16:58:52 -07:00
Dongbo Wang 24636202f8 Relax the sensitive words we filter (#1517) 2020-05-12 13:43:58 -07:00
Dongbo Wang 67f09a4136 Refactor 'SelfInsert' to avoid duplicate logic (#1510) 2020-05-09 15:44:41 -07:00