mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-20 00:55:48 +08:00
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
This commit is contained in:
12
test/Spectre.Console.Tests/Utilities/GitHubIssueAttribute.cs
Normal file
12
test/Spectre.Console.Tests/Utilities/GitHubIssueAttribute.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace Spectre.Console.Tests;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
|
||||
public sealed class GitHubIssueAttribute : Attribute
|
||||
{
|
||||
public string Url { get; }
|
||||
|
||||
public GitHubIssueAttribute(string url)
|
||||
{
|
||||
Url = url;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user