trailing commans

This commit is contained in:
Will McGugan
2023-02-07 18:28:05 +00:00
parent 0a4d1c919d
commit 777a205bca

View File

@@ -21,22 +21,86 @@ BORDER_CHARS: dict[
] = {
# Three tuples for the top, middle, and bottom rows.
# The sub-tuples are the characters for the left, center, and right borders.
"": ((" ", " ", " "), (" ", " ", " "), (" ", " ", " ")),
"ascii": (("+", "-", "+"), ("|", " ", "|"), ("+", "-", "+")),
"none": ((" ", " ", " "), (" ", " ", " "), (" ", " ", " ")),
"hidden": ((" ", " ", " "), (" ", " ", " "), (" ", " ", " ")),
"blank": ((" ", " ", " "), (" ", " ", " "), (" ", " ", " ")),
"round": (("", "", ""), ("", " ", ""), ("", "", "")),
"solid": (("", "", ""), ("", " ", ""), ("", "", "")),
"double": (("", "", ""), ("", " ", ""), ("", "", "")),
"dashed": (("", "", ""), ("", " ", ""), ("", "", "")),
"heavy": (("", "", ""), ("", " ", ""), ("", "", "")),
"inner": (("", "", ""), ("", " ", ""), ("", "", "")),
"outer": (("", "", ""), ("", " ", ""), ("", "", "")),
"hkey": (("", "", ""), (" ", " ", " "), ("", "", "")),
"vkey": (("", " ", ""), ("", " ", ""), ("", " ", "")),
"tall": (("", "", ""), ("", " ", ""), ("", "", "")),
"wide": (("", "", ""), ("", " ", ""), ("", "", "")),
"": (
(" ", " ", " "),
(" ", " ", " "),
(" ", " ", " "),
),
"ascii": (
("+", "-", "+"),
("|", " ", "|"),
("+", "-", "+"),
),
"none": (
(" ", " ", " "),
(" ", " ", " "),
(" ", " ", " "),
),
"hidden": (
(" ", " ", " "),
(" ", " ", " "),
(" ", " ", " "),
),
"blank": (
(" ", " ", " "),
(" ", " ", " "),
(" ", " ", " "),
),
"round": (
("", "", ""),
("", " ", ""),
("", "", ""),
),
"solid": (
("", "", ""),
("", " ", ""),
("", "", ""),
),
"double": (
("", "", ""),
("", " ", ""),
("", "", ""),
),
"dashed": (
("", "", ""),
("", " ", ""),
("", "", ""),
),
"heavy": (
("", "", ""),
("", " ", ""),
("", "", ""),
),
"inner": (
("", "", ""),
("", " ", ""),
("", "", ""),
),
"outer": (
("", "", ""),
("", " ", ""),
("", "", ""),
),
"hkey": (
("", "", ""),
(" ", " ", " "),
("", "", ""),
),
"vkey": (
("", " ", ""),
("", " ", ""),
("", " ", ""),
),
"tall": (
("", "", ""),
("", " ", ""),
("", "", ""),
),
"wide": (
("", "", ""),
("", " ", ""),
("", "", ""),
),
}
# Some of the borders are on the widget background and some are on the background of the parent