mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Dont use a blank line for empty subtitle
This commit is contained in:
parent
2340d5be8d
commit
5297223ee3
1 changed files with 1 additions and 1 deletions
|
|
@ -2135,7 +2135,7 @@ class Boss:
|
|||
callback: Callable[[Union[_T, str, None]], None],
|
||||
subtitle: str = ''
|
||||
) -> Optional[Window]:
|
||||
lines = [title, subtitle, '']
|
||||
lines = [title, subtitle, ''] if subtitle else [title, '']
|
||||
idx_map: List[Union[_T, str]] = []
|
||||
ans: Union[str, _T, None] = None
|
||||
fmt = ': {1}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue