55 lines
1.0 KiB
Zig
55 lines
1.0 KiB
Zig
|
pub const Border = struct {
|
||
|
top_left: u21,
|
||
|
top_right: u21,
|
||
|
bottom_left: u21,
|
||
|
bottom_right: u21,
|
||
|
top: u21,
|
||
|
bottom: u21,
|
||
|
left: u21,
|
||
|
right: u21,
|
||
|
};
|
||
|
|
||
|
pub const BasicBorder = Border{
|
||
|
.top_left = '┌',
|
||
|
.top_right = '┐',
|
||
|
.bottom_left = '└',
|
||
|
.bottom_right = '┘',
|
||
|
.top = '─',
|
||
|
.bottom = '─',
|
||
|
.left = '│',
|
||
|
.right = '│',
|
||
|
};
|
||
|
|
||
|
pub const BoldBorder = Border{
|
||
|
.top_left = '┏',
|
||
|
.top_right = '┓',
|
||
|
.bottom_left = '┗',
|
||
|
.bottom_right = '┛',
|
||
|
.top = '━',
|
||
|
.bottom = '━',
|
||
|
.left = '┃',
|
||
|
.right = '┃',
|
||
|
};
|
||
|
|
||
|
pub const DoubleBorder = Border{
|
||
|
.top_left = '╔',
|
||
|
.top_right = '╗',
|
||
|
.bottom_left = '╚',
|
||
|
.bottom_right = '╝',
|
||
|
.top = '═',
|
||
|
.bottom = '═',
|
||
|
.left = '║',
|
||
|
.right = '║',
|
||
|
};
|
||
|
|
||
|
pub const BigBorder = Border{
|
||
|
.top_left = '▛',
|
||
|
.top_right = '▜',
|
||
|
.bottom_left = '▙',
|
||
|
.bottom_right = '▟',
|
||
|
.top = '▀',
|
||
|
.bottom = '▄',
|
||
|
.left = '▌',
|
||
|
.right = '▐',
|
||
|
};
|