Adds round style, sets that as the default

This commit is contained in:
Niru Maheswaranathan
2016-05-03 16:38:30 -07:00
parent fad64f0a07
commit cadf2eb8d8
+7 -1
View File
@@ -42,6 +42,12 @@ DEFAULT_STYLES = {
bottom=LineStyle(" ", "─", " ", " "),
row=LineStyle(' ', '', ' ', ' '),
),
'round': TableStyle(
top=LineStyle('╭', '─', '┬', '╮'),
below_header=LineStyle('├', '─', '┼', '┤'),
bottom=LineStyle('╰', '─', '┴', '╯'),
row=LineStyle('│', '', '│', '│'),
),
'banner': TableStyle(
top=LineStyle('╒', '═', '╤', '╕'),
below_header=LineStyle("╘", "═", "╧", "╛"),
@@ -49,7 +55,7 @@ DEFAULT_STYLES = {
row=LineStyle('│', '', '│', '│'),
),
}
STYLE = 'fancy_grid'
STYLE = 'round'
WIDTH = 11
FMT = '5g'