aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 02:29:14 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 02:29:14 +0100
commita04bacb4aeb741c4d1a77238f49e1e48e31572cb (patch)
treea7e419d2dfeee5dcb73cae308a431736ce268451 /bin
parent38764943e5fc61c424c018068dc7f6790dddf147 (diff)
Hex. toggle on minimal mode
Diffstat (limited to 'bin')
-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))