mattfennerom
d84f9ae713
fix bug setting Header ( #1890 )
2025-09-05 15:42:18 +02:00
Mitch Denny
3a6d3e4520
Fix space triggering selection when items in selection list have a space. ( #1881 )
...
* Changes Search in SelectionPrompt to accept Space Key as text
---------
Co-authored-by: Philipp <30900810+DerReparator@users.noreply.github.com >
2025-08-19 20:09:12 +02:00
Tobias Tengler
a8b2f1f1e0
Support J and K for navigating list prompts ( #1877 )
2025-08-13 18:23:26 +02:00
FroggieFrog
0889c2f97c
Update spinners ( #1873 )
...
Update spinners from https://github.com/sindresorhus/cli-spinners
2025-08-03 13:19:22 +02:00
Frank Ray
8b59ddfd41
Separate Spectre.Console.Cli from Spectre.Console ( #1850 )
2025-07-23 23:11:07 +02:00
Daniel
f32f80dc57
Fix resizing of Live views with reduced size. ( #1840 )
2025-06-21 12:30:18 +02:00
Pannoniae
7f3ebe02c4
Reduce memory usage for rune width cache. ( #1756 )
2025-06-20 12:49:45 +02:00
Weihan Li
65bab890f2
Update System.Memory dependency
2025-06-05 10:34:24 +02:00
Elementttto
bd0e2d3e22
Fixed link not dispalyed in markup in Style.cs and added unit test cases ( #1750 )
2025-06-02 10:19:53 +02:00
martincostello
6105ee2a86
Fix IndexOutOfRangeException
...
Fix `IndexOutOfRangeException` if an exception does not have an associated stack trace.
Resolves #1798 .
2025-04-09 12:36:53 +02:00
Patrik Svensson
68fcfe0de4
Update dependencies and .NET SDK
2025-04-08 17:30:03 +02:00
Cédric Luthi
9d8d3c1d6d
Fix generic exception formatting with shortened types
...
Fixes #1754
2025-02-05 18:20:21 +01:00
Patrik Svensson
f1f633cc72
Merge pull request #1747 from phil-scott-78/spinner-extension
2025-01-28 18:41:34 +01:00
Phil Scott
05ce33615e
Add async spinner extension methods and related documentation
2025-01-28 10:20:24 -05:00
Martijn Straathof
58bf89a56a
Implement 3 digit hex parsing ( #1708 )
2024-12-04 16:31:21 +01:00
Tom Deseyn
29ab313bb9
Async overloads for AnsiConsole Prompt/Ask/Confirm. ( #1194 )
...
* Add async overloads for Prompt/Ask/Confirm.
* Added unit test coverage - AskAsync, ConfirmAsync
* Reordered methods to group non-async/async of the same tests together
---------
Co-authored-by: Frank Ray <52075808+FrankRay78@users.noreply.github.com >
2024-11-28 10:56:19 +00:00
Phil Scott
ab8384acf6
Update PolySharp to version 1.15.0 and remove Nullable package references
2024-11-23 14:47:01 +01:00
Phil Scott
b2689be3ed
Enhance ExceptionFormatter for AOT compatibility by adding fallback handling for stack frames.
2024-11-22 22:55:01 +01:00
Phil Scott
8f2a859087
Fallback to using GetConverter if GetIntrinsicConverter doesn't find one.
2024-11-22 22:55:01 +01:00
Phil Scott
2be8e8da4e
Adds fallback for ExceptionFormatter in AOT
2024-11-22 22:55:01 +01:00
Phil Scott
e1d21e7e61
Adding polysharp properly
2024-11-22 22:55:01 +01:00
Phil Scott
c7c3ebdf57
Fix assembly name retrieval for FSharp.Core in TypeNameHelper to work better in AOT scenarios
2024-11-22 22:55:01 +01:00
Phil Scott
b67af32423
Add RequiresDynamicCode attribute to exception formatter to indicate incompatability with AOT
2024-11-22 22:55:01 +01:00
Phil Scott
10773a5625
Refactor enum value retrieval to use EnumUtils for better compatibility with NetStandard 2.0 and AOT
2024-11-22 22:55:01 +01:00
Phil Scott
4802751357
Add AOT compatibility and PolySharp package support
2024-11-22 22:55:01 +01:00
Frank Ray
4515d89705
ProgressTask.GetPercentage() returns 100 when max value is 0 ( #1694 )
2024-11-22 12:44:00 +01:00
Phil Scott
69689d2ba1
Changes Emoji dictionary to OrdinalIgnoreCase for performance
...
This code is ran on startup, and instantiating a new InvariantCultureIgnoreCase was taking up 11ms, which was half the time in AOT.
2024-11-20 17:55:33 -05:00
Tim Pilius
aa9e5c48c6
Adding TransferSpeedColumn configuration to display bits/bytes + binary/decimal prefixes ( #904 )
...
* Adding configuration to TransferSpeedColumn to be able to display in both bytes/bits, as well as using binary/decimal prefix definitions.
---------
Co-authored-by: Frank Ray <52075808+FrankRay78@users.noreply.github.com >
2024-11-19 15:41:49 +00:00
PascalSenn
8d06daf355
Fixed typo in Segment description ( #1687 )
2024-11-19 06:09:22 +01:00
Patrik Svensson
375a708c43
Add net9.0 support, remove legacy TFM:s ( #1682 )
...
* Update .NET SDK to 9.0.100
* Remove net6.0
* Remove net7.0
* Update dependencies
* Install correct .NET SDK:s in GitHub Actions
2024-11-13 14:54:01 +01:00
Jonathan Sheely
574ead6d46
Added hex color conversion ( #1432 )
...
* Added hex color conversion
---------
Co-authored-by: Frank Ray <52075808+FrankRay78@users.noreply.github.com >
Co-authored-by: Nils Andresen <nils@nils-andresen.de >
2024-11-13 13:35:26 +01:00
BlazeFace
a87277e859
Adding Enricher for Azure Pipelines ( #1675 )
2024-11-04 16:30:35 +01:00
BlazeFace
3eb620a44e
Fix typo
2024-10-26 07:27:31 -07:00
BlazeFace
444dbed259
Merge remote-tracking branch 'upstream/main' into blz/issues/1390
...
# Conflicts:
# src/Tests/Spectre.Console.Tests/Expectations/Widgets/Layout/Render_Layout_With_Three_And_One_Columns.Output.verified.txt
2024-10-25 17:47:02 -07:00
Cédric Luthi
c70a8b8fc5
Improve exception if a (multi)selection prompt is used incorrectly
...
Before this commit, the selection prompt would throw an `InvalidOperationException` (Sequence contains no elements) and the multi selection prompt would throw an `ArgumentOutOfRangeException` (Index was out of range. Must be non-negative and less than the size of the collection.)
Both would occur because the prompts were never meant to be empty.
2024-09-11 10:16:21 +02:00
Davide Piccinini
a55b80220d
Enhance the style of the checkboxes for multi-selection ( #1244 )
...
* Enhance the checkboxes' style for multi-selection by applying the selected style, if available, to the checkboxes currently selected.
2024-09-09 16:35:01 +02:00
Davide Piccinini
dba7ad0875
Fix SA1513 line 38 Tree.cs
2024-09-09 14:28:13 +02:00
Davide Piccinini
322ed2efbb
Fix error SA1300 in full property creation
2024-09-09 14:28:13 +02:00
Davide Piccinini
156d254208
Fix issue 1153 on expanded tree
2024-09-09 14:28:13 +02:00
d.piccinini
3437130bf0
Removed blank line
2024-09-09 10:21:00 +02:00
d.piccinini
32384f7b8d
Add custom highligh style for single calendar event
2024-09-09 10:21:00 +02:00
Daniel Cazzulino
8e44a83737
Simplify InternalsVisibleTo
...
If the $(PublicKey) property is used, the SDK targets will automatically use it for the assembly attributes.
See https://github.com/dotnet/sdk/pull/3439
Simplifies https://github.com/spectreconsole/spectre.console/pull/1623
2024-09-06 20:31:18 +02:00
Patrik Svensson
fd69ad0b01
Fix search bug in prompt related to custom item types
...
Closes #1626
2024-09-03 00:46:18 +02:00
Kirill Osenkov
6116af3844
Strong name the assemblies
2024-08-29 16:52:55 -07:00
Patrik Svensson
42fd801876
Preparations for the 1.0 release
...
* Less cluttered solution layout.
* Move examples to a repository of its own.
* Move Roslyn analyzer to a repository of its own.
* Enable central package management.
* Clean up csproj files.
* Add README file to NuGet packages.
2024-08-06 15:38:28 +02:00
tonwin618
bb72b44d60
Delete based on character width when pressing Backspace.
2024-08-01 11:07:16 +02:00
ymqn
64b9ef582d
Fixed incorrect decoration check from Bold to Italic in HtmlEncoder.BuildCss
2024-07-25 23:13:06 +02:00
BlazeFace
d52d14e848
Undo debug change and add method group
2024-04-13 17:23:26 -07:00
BlazeFace
a62e79992b
Undo debug changes
2024-04-13 17:20:12 -07:00
BlazeFace
ff7282ecb8
Adding test and update render to fix issue with rendering separator when headers are hidden fixing issue 1391.
2024-04-14 02:05:13 +02:00