Fill not render space (Render engine, Border)

This commit is contained in:
2023-08-17 15:55:00 +02:00
parent 92726f1af9
commit df4fe93c81
17 changed files with 373 additions and 146 deletions

View File

@@ -52,14 +52,16 @@ public class ProgressBarExamples
private void RenderProgressBar<T>(ProgressBar<T> progressBar, Position position)
{
var s = new Size(10, 1);
var renderContext = new RenderContext(
_driver,
true,
null,
null,
new(),
new TextFormatContext(true)
new TextFormatContext(true),
new bool[s.Width,s.Height]
);
progressBar.Render(renderContext, position, new Size(10, 1));
progressBar.Render(renderContext, position, s);
}
}