summaryrefslogtreecommitdiffstats
path: root/mycli/clitoolbar.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-07 09:38:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-07 09:38:54 +0000
commit69a60002fd1bb149ca60d888e5b290ba527ae400 (patch)
tree70b027a809ee8f8fea766316f8d52f56b1dc6f32 /mycli/clitoolbar.py
parentAdding upstream version 1.25.0. (diff)
downloadmycli-bf88705e91795b2f3221f724174409f5b233c9bd.tar.xz
mycli-bf88705e91795b2f3221f724174409f5b233c9bd.zip
Adding upstream version 1.26.1.upstream/1.26.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mycli/clitoolbar.py')
-rw-r--r--mycli/clitoolbar.py5
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'))