Skip to content

Commit 840c578

Browse files
authored
table: change EmptySeparator to be a blank space; fixes #337 (#338)
1 parent 730bce7 commit 840c578

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

table/style.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ var (
379379
BottomLeft: "+",
380380
BottomRight: "+",
381381
BottomSeparator: "+",
382-
EmptySeparator: text.RepeatAndTrim(" ", text.RuneWidthWithoutEscSequences("+")),
382+
EmptySeparator: " ",
383383
Left: "|",
384384
LeftSeparator: "+",
385385
MiddleHorizontal: "-",
@@ -410,7 +410,7 @@ var (
410410
BottomLeft: "┗",
411411
BottomRight: "┛",
412412
BottomSeparator: "┻",
413-
EmptySeparator: text.RepeatAndTrim(" ", text.RuneWidthWithoutEscSequences("╋")),
413+
EmptySeparator: " ",
414414
Left: "┃",
415415
LeftSeparator: "┣",
416416
MiddleHorizontal: "━",
@@ -441,7 +441,7 @@ var (
441441
BottomLeft: "╚",
442442
BottomRight: "╝",
443443
BottomSeparator: "╩",
444-
EmptySeparator: text.RepeatAndTrim(" ", text.RuneWidthWithoutEscSequences("╬")),
444+
EmptySeparator: " ",
445445
Left: "║",
446446
LeftSeparator: "╠",
447447
MiddleHorizontal: "═",
@@ -472,7 +472,7 @@ var (
472472
BottomLeft: "└",
473473
BottomRight: "┘",
474474
BottomSeparator: "┴",
475-
EmptySeparator: text.RepeatAndTrim(" ", text.RuneWidthWithoutEscSequences("┼")),
475+
EmptySeparator: " ",
476476
Left: "│",
477477
LeftSeparator: "├",
478478
MiddleHorizontal: "─",
@@ -503,7 +503,7 @@ var (
503503
BottomLeft: "╰",
504504
BottomRight: "╯",
505505
BottomSeparator: "┴",
506-
EmptySeparator: text.RepeatAndTrim(" ", text.RuneWidthWithoutEscSequences("┼")),
506+
EmptySeparator: " ",
507507
Left: "│",
508508
LeftSeparator: "├",
509509
MiddleHorizontal: "─",
@@ -534,7 +534,7 @@ var (
534534
BottomLeft: "\\",
535535
BottomRight: "/",
536536
BottomSeparator: "v",
537-
EmptySeparator: text.RepeatAndTrim(" ", text.RuneWidthWithoutEscSequences("+")),
537+
EmptySeparator: " ",
538538
Left: "[",
539539
LeftSeparator: "{",
540540
MiddleHorizontal: "--",

0 commit comments

Comments
 (0)