summaryrefslogtreecommitdiffstats
path: root/litecli
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-14 14:41:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-14 14:41:27 +0000
commita1ed92dab2827b349e4e51a654b42c1c7a5c1c8b (patch)
treead997b3092b1a30681368e18748e83ff09a30a83 /litecli
parentReleasing debian version 1.6.0-2. (diff)
downloadlitecli-a1ed92dab2827b349e4e51a654b42c1c7a5c1c8b.tar.xz
litecli-a1ed92dab2827b349e4e51a654b42c1c7a5c1c8b.zip
Merging upstream version 1.7.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'litecli')
-rw-r--r--litecli/AUTHORS1
-rw-r--r--litecli/__init__.py2
-rw-r--r--litecli/liteclirc3
-rw-r--r--litecli/main.py3
4 files changed, 7 insertions, 2 deletions
diff --git a/litecli/AUTHORS b/litecli/AUTHORS
index d5265de..194cdc7 100644
--- a/litecli/AUTHORS
+++ b/litecli/AUTHORS
@@ -18,3 +18,4 @@ Contributors:
* Zhaolong Zhu
* Zhiming Wang
* Shawn M. Chapla
+ * Paweł Sacawa
diff --git a/litecli/__init__.py b/litecli/__init__.py
index e4adfb8..14d9d2f 100644
--- a/litecli/__init__.py
+++ b/litecli/__init__.py
@@ -1 +1 @@
-__version__ = "1.6.0"
+__version__ = "1.7.0"
diff --git a/litecli/liteclirc b/litecli/liteclirc
index 5bfffbd..f0a4285 100644
--- a/litecli/liteclirc
+++ b/litecli/liteclirc
@@ -65,6 +65,9 @@ wider_completion_menu = False
prompt = '\d> '
prompt_continuation = '-> '
+# Show/hide the informational toolbar with function keymap at the footer.
+show_bottom_toolbar = True
+
# Skip intro info on startup and outro info on exit
less_chatty = False
diff --git a/litecli/main.py b/litecli/main.py
index 24b1bb4..faa7322 100644
--- a/litecli/main.py
+++ b/litecli/main.py
@@ -83,6 +83,7 @@ class LiteCli(object):
self.formatter.litecli = self
self.syntax_style = c["main"]["syntax_style"]
self.less_chatty = c["main"].as_bool("less_chatty")
+ self.show_bottom_toolbar = c["main"].as_bool("show_bottom_toolbar")
self.cli_style = c["colors"]
self.output_style = style_factory_output(self.syntax_style, self.cli_style)
self.wider_completion_menu = c["main"].as_bool("wider_completion_menu")
@@ -557,7 +558,7 @@ class LiteCli(object):
reserve_space_for_menu=self.get_reserved_space(),
message=get_message,
prompt_continuation=get_continuation,
- bottom_toolbar=get_toolbar_tokens,
+ bottom_toolbar=get_toolbar_tokens if self.show_bottom_toolbar else None,
complete_style=complete_style,
input_processors=[
ConditionalProcessor(