Truncate isearch output to terminal width

This commit is contained in:
Oleksii Shevchuk 2018-10-06 20:27:30 +03:00
parent c1d9d7e74f
commit 3b79fa2cf1
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
from pupylib.PupyModule import config, PupyModule, PupyArgumentParser
from pupylib.PupyOutput import Table
from pupylib.PupyOutput import Table, TruncateToTerm
from argparse import REMAINDER
from datetime import datetime
@ -100,4 +100,4 @@ class IndexSearchModule(PupyModule):
'Modified': datetime.fromtimestamp(record[2])
})
self.log(Table(objects, header, legend=legend))
self.log(TruncateToTerm(Table(objects, header, legend=legend)))