BlazeFace
20a2f727f7
Updating test and Ratio calculation
2024-04-09 06:03:45 -07:00
Phil Scott
fc0b553a4a
Revert "Fixed render issue where writeline inside status caused corrupt output #415 #694 "
...
This reverts commit 71a5d83067 .
The commit introduced major flickering when working with LiveRenderables
Fixes #1466
2024-04-01 19:47:20 +02:00
Gerardo Grignoli
e66d3aab2e
Added NoStackTrace to ExceptionFormats ( #1489 )
2024-03-08 15:26:45 +00:00
Tom Longhurst
d921ac6f02
Positioned Progress Tasks - Before or After Other Tasks ( #1250 )
2024-03-07 08:38:59 +00:00
Stuart Lang
397b742bec
Add selection orompt Search ( #1289 )
...
* Add selection prompt search as you type
* Fix small bug
* Simplify
* Simplify
* Remove spacebar as a selection prompt submit key
* Trigger CI
* Update src/Spectre.Console/Prompts/SelectionPrompt.cs
Co-authored-by: Martin Costello <martin@martincostello.com >
* Simplifty Mask method
* Handle multi-selection prompt better
* Update API naming
* Address feedback
* Add some tests
* Remove whitespace
* Improve search and highlighting
* Add test case for previous issue
* Add extra test case
* Make prompt searchable
---------
Co-authored-by: Martin Costello <martin@martincostello.com >
Co-authored-by: Patrik Svensson <patrik@patriksvensson.se >
2024-02-25 12:57:27 +01:00
Martin Costello
d30b08201d
Remove [DebuggerDisplay] from Paragraph
...
The `_text` field no longer exists, so hovering over instances in the debugger just shows an error message.
2024-02-23 14:25:32 +01:00
Daniel Weber
bf3b91a535
Don't erase the prompt text when backspacing on a secret prompt with a null mask.
2024-02-13 09:01:24 +01:00
Patrik Svensson
b21e07ea94
Update dependencies
...
* Add support for C# 12
* Run all tests on all major .NET SDKs
* Only build on Ubuntu
* Do not build docs for pull requests
* Add Cédric Luthi, and Frank Ray to authors
* Drop netstandard2.0 for ImageSharp plugin
2024-01-31 20:51:49 +01:00
Jonathan Sheely
703d653ec5
Adds ValueFormatter to ProgressBar
2024-01-31 17:37:05 +01:00
Caelan Sayler
71631b248a
Fix potential deadlock when cancelling prompts ( #1439 )
2024-01-31 12:02:01 +01:00
Frank Ray
9cc888e5ad
Make HelpProvider colors configurable ( #1408 )
2024-01-18 15:31:28 +01:00
Nils Andresen
6f1f29967d
( #1363 ) fix rendering of ListPrompt for odd pageSizes
2024-01-01 10:19:09 +01:00
Nils Andresen
44300c871f
fixed line-endings
2023-11-28 00:14:54 +01:00
Patrik Svensson
b1e0896a0d
Add net8.0 support
2023-11-14 22:24:53 +01:00
Will Baldoumas
e07ccd9f66
Allow Confirmation Prompt Styling ( #1210 )
...
* Allow Confirmation Prompt Styling
* Remove style null check
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com >
* Remove style null coalesce
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com >
* Update comment
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com >
* Remove style null check
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com >
* Update comment
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com >
* Remove style null coalesce
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com >
---------
Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com >
2023-11-13 18:23:09 +01:00
Cédric Luthi
4219bbbf61
Allow passing a nullable style in DefaultValueStyle() and ChoicesStyle()
...
This will allow to slightly simplify the implementation of #1210
See also related discussion on https://github.com/spectreconsole/spectre.console/pull/1349#discussion_r1388385384
2023-11-10 08:01:18 +01:00
Cédric Luthi
29a43686d4
Fix AnsiConsoleOutput safe height
...
The safe height (introduced in 3e2eea730b ) would be 80 (the value of the safe width) instead of 24.
Removing the explicit `defaultValue` parameter ensures that the correct constants are used, i.e. Constants.DefaultTerminalWidth and Constants.DefaultTerminalHeight.
2023-11-09 12:11:56 +01:00
Nils Andresen
bbf58ee814
( #1188 ) Rows measure greedy
2023-10-19 07:46:12 +02:00
Patrik Svensson
943c045fab
Fixes TextPath rendering bugs ( #1308 )
...
* Do not emit line break when rendering
* Don't be greedy when measuring.
* Fix a condition that decides if the path fits in the allotted space.
Closes #1307
2023-09-18 08:04:57 +02:00
Phil Scott
ed9e198d60
Progress bar header and footer ( #1262 )
2023-09-16 22:39:43 +02:00
Patrik Svensson
3bee7212b7
Merge pull request #1303 from nils-a/feature/GH-684
2023-09-16 19:37:00 +02:00
Patrik Svensson
c82d8c4523
Add option to show separator between table rows ( #1304 )
...
* Add option to show separator between table rows
* Panels should show header if borders are not shown
Closes #835
2023-09-16 18:49:12 +02:00
Nils Andresen
bef21e8a21
( #684 ) Enable setting the color of the values in a BreakdownChart
2023-09-15 20:12:06 +02:00
Ola Bäcker
037e109699
Fix figlet centering possibly throwing due to negative size ( #1302 )
2023-09-14 19:50:12 +02:00
Fraser Waters
cec5fb4595
Render tables with zero-width columns ( #1197 )
...
Fixes https://github.com/spectreconsole/spectre.console/issues/361
2023-09-12 15:46:25 +02:00
Jeppe Roi Kristensen
e0ded712e8
Add fix to avoid exception on Rows with no children
2023-06-13 00:36:06 +02:00
fredrikbentzen
71a5d83067
Fixed render issue where writeline inside status caused corrupt output #415 #694
2023-06-04 20:31:12 +02:00
Elisha Aguilera
018f4ebd17
Minor refactors ( #1081 )
2023-05-14 15:30:27 +01:00
Cédric Luthi
6acf9b8c63
Add an implicit operator to convert from Color to Style ( #1160 )
2023-05-10 14:20:12 +01:00
MaxAtoms
1334319dd1
Add Alacritty as supported Ansi console
2023-04-03 12:42:24 +02:00
Patrik Svensson
70da3f40ff
Merge pull request #1161 from MartinZikmund/dev/mazi/stringcomparer-confirmation
2023-03-16 09:57:15 +01:00
Martin Zikmund
5075732564
Adjustments based on code review
2023-03-16 09:45:42 +01:00
Gérald Barré
baa8220a52
Use StringComparison.Ordinal instead of culture-sensitive comparisons
2023-02-20 20:23:06 -05:00
Martin Zikmund
9cd7b24e65
Allow configuration of confirmation prompt comparison via StringComparer
2023-02-11 17:09:16 +01:00
Martin Zikmund
29846ba505
Ensure correct comparer is used for TextPrompt
2023-02-04 19:56:37 +01:00
Martin Zikmund
720db951f3
feat: Allow case-insensitive confirmation prompt
2023-02-04 13:24:11 +01:00
Patrik Svensson
54be64ec84
Add JSON text renderer ( #1086 )
...
* Add JsonText widget to render highlighted JSON
Closes #1051
2022-12-31 18:17:15 +00:00
Nils Andresen
f895bb175d
modified tokenizer to not break on on ]]] at the end of a style
2022-12-01 22:32:32 +01:00
Jaime Finat Sáez
4258cbfb85
Performance issue solved ( #1096 )
2022-11-30 18:13:31 +01:00
Patrik Svensson
55c3f3b7a8
Figlet text should not pad on right side automatically
2022-11-15 12:36:49 +01:00
Patrik Svensson
02ff3fc910
Fix alignment bug
2022-11-15 12:36:49 +01:00
Patrik Svensson
c3ec6a7363
Add Layout widget ( #1041 )
...
* Add width to panels
* Add height to panels
* Replace RenderContext with RenderOptions
* Remove exclusivity from alternative buffer
* Add Layout widget
* Add Align widget
2022-11-15 10:12:17 +01:00
Patrik Svensson
a70cc90797
Fix issues with nullability and netstandard2.0
2022-11-10 12:01:13 +01:00
Patrik Svensson
7dce4af552
Add support for .NET 7.0
2022-11-10 12:01:13 +01:00
Łukasz Sowa
6a4d8c8f30
Add culture option to TypeConverterHelper, TextPrompt and AnsiConsole ( #1014 )
...
* Add culture option to TypeConverterHelper, TextPrompt and AnsiConsole
* Add IHasCulture interface
2022-10-15 11:19:06 +02:00
picture-vision
f085da76c1
Added Suckless Simple Terminal (st) to list of ansi terminals
2022-10-13 22:32:11 +02:00
nilaoda
8fa53f8fb1
Allow PACKET key on MultiSelectionPrompt
2022-10-13 20:43:03 +02:00
Salvage
999c59909b
Fix @ being used in figlet font
2022-10-01 17:12:11 +02:00
Salvage
422012c994
Make documentation consistent
2022-09-26 23:32:57 -04:00
Salvage
4f0ec87522
Allow selections to wrap around
2022-09-26 23:32:57 -04:00