diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-09-07 09:38:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-09-07 09:39:08 +0000 |
commit | f0ae12072ba1868526f2ae57615538777d9538f4 (patch) | |
tree | f639c1078fc22f434d074470d7b50f58f0ac6e4e /mycli/clitoolbar.py | |
parent | Releasing debian version 1.25.0-1. (diff) | |
download | mycli-f0ae12072ba1868526f2ae57615538777d9538f4.tar.xz mycli-f0ae12072ba1868526f2ae57615538777d9538f4.zip |
Merging upstream version 1.26.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mycli/clitoolbar.py')
-rw-r--r-- | mycli/clitoolbar.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mycli/clitoolbar.py b/mycli/clitoolbar.py index eec2978..24d1108 100644 --- a/mycli/clitoolbar.py +++ b/mycli/clitoolbar.py @@ -30,6 +30,11 @@ def create_toolbar_tokens_func(mycli, show_fish_help): 'Vi-mode ({})'.format(_get_vi_mode()) )) + if mycli.toolbar_error_message: + result.append( + ('class:bottom-toolbar', ' ' + mycli.toolbar_error_message)) + mycli.toolbar_error_message = None + if show_fish_help(): result.append( ('class:bottom-toolbar', ' Right-arrow to complete suggestion')) |