mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-19 10:12:50 +08:00

Fixes some tree rendering problems where lines were not properly drawn at some levels during some circumstances. * Change the API back to only allow one root. * Now uses a stack based approach to rendering instead of recursion. * Removes the need for measuring the whole tree in advance. Leave this up to each child to render.
41 lines
1.3 KiB
XML
41 lines
1.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net5.0</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\Spectre.Console\Cli\Internal\Constants.cs" Link="Imported\Constants.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Data\starwars.flf" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Data\starwars.flf" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
|
|
<PackageReference Include="Shouldly" Version="4.0.3" />
|
|
<PackageReference Include="Spectre.Verify.Extensions" Version="0.1.0" />
|
|
<PackageReference Include="Verify.Xunit" Version="9.0.0-beta.1" />
|
|
<PackageReference Include="xunit" Version="2.4.1" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Spectre.Console.Testing\Spectre.Console.Testing.csproj" />
|
|
<ProjectReference Include="..\Spectre.Console\Spectre.Console.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="Expectations\Widgets\Tree\" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|