Merging upstream version 1.27.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
d3f72a1e51
commit
cc1aa7d50e
15 changed files with 248 additions and 118 deletions
|
@ -7,8 +7,7 @@ from .packages import special
|
|||
def create_toolbar_tokens_func(mycli, show_fish_help):
|
||||
"""Return a function that generates the toolbar tokens."""
|
||||
def get_toolbar_tokens():
|
||||
result = []
|
||||
result.append(('class:bottom-toolbar', ' '))
|
||||
result = [('class:bottom-toolbar', ' ')]
|
||||
|
||||
if mycli.multi_line:
|
||||
delimiter = special.get_current_delimiter()
|
||||
|
@ -26,7 +25,7 @@ def create_toolbar_tokens_func(mycli, show_fish_help):
|
|||
'[F3] Multiline: OFF '))
|
||||
if mycli.prompt_app.editing_mode == EditingMode.VI:
|
||||
result.append((
|
||||
'class:botton-toolbar.on',
|
||||
'class:bottom-toolbar.on',
|
||||
'Vi-mode ({})'.format(_get_vi_mode())
|
||||
))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue