mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-07-02 19:08:15 +08:00
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
This commit is contained in:
@ -77,7 +77,7 @@ public sealed class TextPathTests
|
||||
var console = new TestConsole().Width(40);
|
||||
|
||||
// When
|
||||
console.Write(new TextPath("C:/My documents/Bar/Baz.txt").RightAligned());
|
||||
console.Write(new TextPath("C:/My documents/Bar/Baz.txt").RightJustified());
|
||||
|
||||
// Then
|
||||
console.Output.TrimEnd('\n')
|
||||
|
Reference in New Issue
Block a user