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

Closes #85 * Split Border into BoxBorder and TableBorder * Change how different table parts are composed * Add markdown table border
21 lines
559 B
C#
21 lines
559 B
C#
namespace Spectre.Console
|
|
{
|
|
/// <summary>
|
|
/// Represents something that has a border.
|
|
/// </summary>
|
|
public interface IHasBorder
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether or not to use
|
|
/// a "safe" border on legacy consoles that might not be able
|
|
/// to render non-ASCII characters.
|
|
/// </summary>
|
|
bool UseSafeBorder { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the box style.
|
|
/// </summary>
|
|
public Style? BorderStyle { get; set; }
|
|
}
|
|
}
|