mirror of
https://github.com/KevinMidboe/tableprint.git
synced 2025-10-29 18:00:16 +00:00
Adds round style, sets that as the default
This commit is contained in:
@@ -42,6 +42,12 @@ DEFAULT_STYLES = {
|
|||||||
bottom=LineStyle(" ", "─", " ", " "),
|
bottom=LineStyle(" ", "─", " ", " "),
|
||||||
row=LineStyle(' ', '', ' ', ' '),
|
row=LineStyle(' ', '', ' ', ' '),
|
||||||
),
|
),
|
||||||
|
'round': TableStyle(
|
||||||
|
top=LineStyle('╭', '─', '┬', '╮'),
|
||||||
|
below_header=LineStyle('├', '─', '┼', '┤'),
|
||||||
|
bottom=LineStyle('╰', '─', '┴', '╯'),
|
||||||
|
row=LineStyle('│', '', '│', '│'),
|
||||||
|
),
|
||||||
'banner': TableStyle(
|
'banner': TableStyle(
|
||||||
top=LineStyle('╒', '═', '╤', '╕'),
|
top=LineStyle('╒', '═', '╤', '╕'),
|
||||||
below_header=LineStyle("╘", "═", "╧", "╛"),
|
below_header=LineStyle("╘", "═", "╧", "╛"),
|
||||||
@@ -49,7 +55,7 @@ DEFAULT_STYLES = {
|
|||||||
row=LineStyle('│', '', '│', '│'),
|
row=LineStyle('│', '', '│', '│'),
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
STYLE = 'fancy_grid'
|
STYLE = 'round'
|
||||||
WIDTH = 11
|
WIDTH = 11
|
||||||
FMT = '5g'
|
FMT = '5g'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user