Docs: Slightly adjust the description of tab_title_max_length

Note the associated GitHub PR ID in the changelog.
This commit is contained in:
pagedown 2022-11-30 00:20:32 +08:00
parent 5c50e3869c
commit 02b206eeb8
No known key found for this signature in database
GPG Key ID: E921CF18AC8FF6EB
2 changed files with 8 additions and 8 deletions

View File

@ -57,7 +57,7 @@ Detailed list of changes
- Wayland GNOME: Workaround for latest mutter release breaking full screen for semi-transparent kitty windows (:iss:`5677`)
- A new option :opt:`tab_title_max_length` to limit the length of tab titles
- A new option :opt:`tab_title_max_length` to limit the length of tab (:iss:`5718`)
0.26.5 [2022-11-07]

View File

@ -1065,13 +1065,6 @@ margin between the tab bar and the contents of the current tab.
'''
)
opt('tab_title_max_length', '0', option_type='positive_int',
long_text='''
The maximum number of characters a tab title can have.
A value of zero means that no limit is applied.
'''
)
opt('tab_bar_style', 'fade',
choices=('fade', 'hidden', 'powerline', 'separator', 'slant', 'custom'), ctype='!tab_bar_style',
long_text='''
@ -1162,6 +1155,13 @@ this is rendered.
'''
)
opt('tab_title_max_length', '0', option_type='positive_int',
long_text='''
The maximum number of cells that can be used to render a tab. A value of zero
means that no limit is applied.
'''
)
opt('tab_title_template', '"{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}"',
option_type='tab_title_template',
long_text='''