Skip to content

Commit df60b90

Browse files
committed
add LinesNone & SeparatorsNone update #255
1 parent 88e7330 commit df60b90

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tw/renderer.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,11 @@ type Border struct {
115115
}
116116

117117
// BorderNone defines a border configuration with all sides disabled.
118-
var BorderNone = Border{Left: Off, Right: Off, Top: Off, Bottom: Off}
118+
var (
119+
BorderNone = Border{Left: Off, Right: Off, Top: Off, Bottom: Off}
120+
LinesNone = Lines{ShowTop: Off, ShowBottom: Off, ShowHeaderLine: Off, ShowFooterLine: Off}
121+
SeparatorsNone = Separators{ShowHeader: Off, ShowFooter: Off, BetweenRows: Off, BetweenColumns: Off}
122+
)
119123

120124
type StreamConfig struct {
121125
Enable bool

0 commit comments

Comments
 (0)