mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 08:52:50 +08:00
25 lines
550 B
C#
25 lines
550 B
C#
namespace Spectre.Console
|
|
{
|
|
/// <summary>
|
|
/// Represents text overflow.
|
|
/// </summary>
|
|
public enum Overflow
|
|
{
|
|
/// <summary>
|
|
/// Put any excess characters on the next line.
|
|
/// </summary>
|
|
Fold = 0,
|
|
|
|
/// <summary>
|
|
/// Truncates the text at the end of the line.
|
|
/// </summary>
|
|
Crop = 1,
|
|
|
|
/// <summary>
|
|
/// Truncates the text at the end of the line and
|
|
/// also inserts an ellipsis character.
|
|
/// </summary>
|
|
Ellipsis = 2,
|
|
}
|
|
}
|