Commit Graph
18 Commits
Author SHA1 Message Date
Steve Lee 52ea419662 Add Dim and DimOff to $PSStyle (#18653) 2022-11-29 16:13:59 -08:00
Dongbo Wang 53c3690c2a Replace command-error suggestion with new implementation based on subsystem plugin (#18252) 2022-10-24 11:59:32 -07:00
Steve Lee d5ed53eba2 Add CustomTableHeaderLabel formatting to differentiate table header labels that are not property names (#17346) 2022-10-03 15:05:11 -07:00
Dongbo Wang 543f5209c0 Support mapping foreground/background ConsoleColor values to VT escape sequences (#17938) 2022-08-24 23:11:18 +05:00
Dongbo Wang 12de67ca5d Fix formatting to act appropriately when the style of table header or list label is empty string (#17463) 2022-06-02 09:20:32 -07:00
Steve Lee 72e3d719d8 Update regex used to remove ANSI escape sequences to be more specific to decoration and hyperlinks (#16811)
* Update regex used to remove ANSI escape sequences to be more specific to decoration and hyperlinks

* add CSI sequence and change default back to `host`

* fix test for default outputrendering
fix regex for CSI by escaping the question mark

* remove hyperlink support
2022-03-24 17:44:35 -07:00
Andrew Menagarishvili 3f1c03d494 Merged PR 18449: Change default for $PSStyle.OutputRendering to Ansi
Cherry picked from !18333

Cherry-picked from commit `5cb8a2b3`.
2021-12-16 13:39:56 -08:00
Ilya 48be7b7f45 Avoid validation for built-in file extension and color VT sequences (#16320) 2021-10-28 11:17:15 -07:00
Dongbo Wang c8984c0517 Make property names for the color VT sequences consistent with documentations (#16212) 2021-10-11 14:58:51 -07:00
Steve Lee a162856af5 Change default to OutputRendering.Host and remove OutputRendering.Automatic (#15882) 2021-08-16 14:17:07 -07:00
Steve Lee 5e15f66f97 Add validation to $PSStyle to reject printable text as ANSI escape sequence (#15825) 2021-07-27 17:14:20 +00:00
Steve Lee b5efe7bc39 Use $PSStyle.Formatting.FormatAccent for Format-List and $PSStyle.Formatting.TableHeader for Format-Table output (#14406) 2021-07-20 09:02:52 +05:00
Steve Lee bfb4a818bf Add support to colorize FileInfo file names (#14403) 2021-07-12 11:07:29 -07:00
Steve Lee c9d65061af Add UseOSCIndicator setting to enable progress indicator in terminal (#14927) 2021-03-11 17:29:17 -08:00
Steve Lee 887467eb32 Add minimal progress bar using ANSI rendering (#14414) 2021-02-05 10:50:20 -08:00
Steve Lee bc080921bf Add support to $PSStyle for strikethrough and hyperlinks (#14461) 2020-12-19 11:54:51 +05:00
Ilya 10ef7f5161 Fix PSStyle blink codes (#14447) 2020-12-19 11:51:29 +05:00
Steve Lee a99ea2acd2 Enable ANSI formatting via $PSStyle and support suppressing ANSI output (#13758) 2020-12-11 10:33:57 -08:00