Fixing issues in options that prevented styled_footer and styled_separator from working.

This commit is contained in:
Andrew Bastien 2019-07-04 14:55:45 -04:00
parent febe08c885
commit 92bf4c8834
2 changed files with 6 additions and 3 deletions

View file

@ -558,7 +558,7 @@ Command {self} has no defined `func()` - showing on-command variables:
colors['headertext'] = self.account.options.get('%s_text_color' % mode)
colors['headerstar'] = self.account.options.get('%s_star_color' % mode)
width = width or self.width()
width = width or self.client_width()
if edge_character:
width -= 2

View file

@ -508,11 +508,14 @@ OPTIONS_ACCOUNT_DEFAULT = {
'border_color': ('Headers, footers, table borders, etc.', 'Color', 'n'),
'header_star_color': ('* inside Header lines.', 'Color', 'n'),
'header_text_color': ('Text inside Header lines.', 'Color', 'w'),
'footer_text_color': ('Text inside Footer Lines.', 'Color', 'n'),
'column_names_color': ('Table column header text.', 'Color', 'w'),
'header_fill': ('Fill for Header lines.', 'Text', '='),
'separator_star_color': ('* inside Separator lines.', 'Color', 'n'),
'separator_text_color': ('Text inside Separator lines.', 'Color', 'w'),
'separator_fill': ('Fill for Separator Lines.', 'Text', '-'),
'footer_star_color': ('* inside Footer lines.', 'Color', 'n'),
'footer_text_color': ('Text inside Footer Lines.', 'Color', 'n'),
'footer_fill': ('Fill for Footer Lines.', 'Text', '='),
'column_names_color': ('Table column header text.', 'Color', 'w'),
'help_category_color': ('Help category names.', 'Color', 'n'),
'help_entry_color': ('Help entry names.', 'Color', 'n'),
'timezone': ('Timezone for dates. @tz for a list.', 'Timezone', 'UTC')