mirror of https://github.com/n1nj4sec/pupy.git
Support all Table options
This commit is contained in:
parent
e6a5665f73
commit
736660110d
|
@ -533,8 +533,8 @@ class PupyModule(object):
|
|||
def newline(self, lines=1):
|
||||
self._message(NewLine(lines))
|
||||
|
||||
def table(self, data, header=None, caption=None, truncate=False):
|
||||
data = Table(data, header, caption)
|
||||
def table(self, data, header=None, caption=None, truncate=False, legend=True, vspace=0):
|
||||
data = Table(data, header, caption, legend, vspace)
|
||||
if truncate:
|
||||
data = TruncateToTerm(data)
|
||||
self._message(data)
|
||||
|
|
Loading…
Reference in New Issue