summaryrefslogtreecommitdiffstats
path: root/layman/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'layman/cli.py')
-rw-r--r--layman/cli.py2
1 files changed, 1 insertions, 1 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