diff options
-rw-r--r-- | layman/cli.py | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | layman/overlays/overlay.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layman/cli.py b/layman/cli.py index f545b0e..9690e54 100644 --- a/layman/cli.py +++ b/layman/cli.py @@ -39,7 +39,7 @@ class ListPrinter(object): self.config = config self.output = self.config['output'] if not self.config['width']: - self.width = terminal_width() + self.width = terminal_width()-1 else: self.width = self.config['width'] self.srclen = self.width - 43 diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py index 8eaa77e..2e900e8 100644..100755 --- a/layman/overlays/overlay.py +++ b/layman/overlays/overlay.py @@ -526,7 +526,7 @@ class Overlay(object): mtype = ' [' + pad(_type, 10) + ']' if not width: - width = terminal_width() + width = terminal_width()-1 srclen = width - 43 source = ', '.join(self.source_uris()) if len(source) > srclen: |