aboutsummaryrefslogtreecommitdiff
path: root/bin/modules
diff options
context:
space:
mode:
Diffstat (limited to 'bin/modules')
-rw-r--r--bin/modules/handler.py1
-rw-r--r--bin/modules/printer.py5
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/modules/handler.py b/bin/modules/handler.py
index ad62c5c..18f8827 100644
--- a/bin/modules/handler.py
+++ b/bin/modules/handler.py
@@ -38,6 +38,7 @@ class Handler:
self.__min_commands = [
ord("M"),
ord(" "),
+ ord("X"),
curses.KEY_RESIZE,
self.KEY_ESCAPE,
]
diff --git a/bin/modules/printer.py b/bin/modules/printer.py
index bf664d2..95fa166 100644
--- a/bin/modules/printer.py
+++ b/bin/modules/printer.py
@@ -949,7 +949,8 @@ class Printer:
def __print_minimal(self):
""" Print minimal mode data fields.
"""
- self.__print_line(1, "Salis --- Minimal mode")
+ self.__print_line(1, "Salis - Mini mode")
for i, field in enumerate(self.__minimal):
- self.__print_line(i + 2, "{}: {}".format(field[0], field[1]()))
+ field_1 = self.__data_format(field[1]())
+ self.__print_line(i + 3, "{}: {:>10}".format(field[0], field_1))