Skip to content

Commit 92b0593

Browse files
committed
Merge branch 'main' into theme-example
2 parents 09600a2 + 471fe54 commit 92b0593

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd2/cmd2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4135,7 +4135,7 @@ def print_topics(self, header: str, cmds: list[str] | None, cmdlen: int, maxcol:
41354135
if header:
41364136
header_grid = Table.grid()
41374137
header_grid.add_row(header, style=Cmd2Style.HELP_HEADER)
4138-
header_grid.add_row(Rule(characters=self.ruler))
4138+
header_grid.add_row(Rule(characters=self.ruler, style=Cmd2Style.TABLE_BORDER))
41394139
self.poutput(header_grid)
41404140

41414141
# Subtract 1 from maxcol to account for a one-space right margin.
@@ -4157,7 +4157,7 @@ def _print_documented_command_topics(self, header: str, cmds: list[str], verbose
41574157
# Create a grid to hold the header and the topics table
41584158
category_grid = Table.grid()
41594159
category_grid.add_row(header, style=Cmd2Style.HELP_HEADER)
4160-
category_grid.add_row(Rule(characters=self.ruler))
4160+
category_grid.add_row(Rule(characters=self.ruler, style=Cmd2Style.TABLE_BORDER))
41614161

41624162
topics_table = Table(
41634163
Column("Name", no_wrap=True),

0 commit comments

Comments
 (0)