diff options
-rw-r--r-- | packages/finder/init.py | 2 | ||||
-rw-r--r-- | packages/finder/main.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/finder/init.py b/packages/finder/init.py index e0338da..a0764ec 100644 --- a/packages/finder/init.py +++ b/packages/finder/init.py @@ -62,7 +62,7 @@ class FinderInit(): self.config = {} # Command line argument handling - self.path = args.path + self.path = os.path.abspath(args.path) def initialize(self): """ diff --git a/packages/finder/main.py b/packages/finder/main.py index 754b54f..87d1c69 100644 --- a/packages/finder/main.py +++ b/packages/finder/main.py @@ -95,11 +95,11 @@ class FinderMain(): lines = self.output_buffer.document.line_count - return f" Results: {lines}" + return f"Results: {lines}" def get_statusbar_right(self): #return "[Tab] change focus [Enter] Select" - return "" + return f"Path: {self.path}" def ui(self): # States @@ -142,7 +142,7 @@ class FinderMain(): Window( FormattedTextControl(self.get_statusbar_right), style = "class:status.right", - width = 20, + width = 60, align = WindowAlign.RIGHT, ), ], |