Merge pull request #1156 from IvoLeal72/patch-1

Fixed usage example of textuils.pagedTabulate
This commit is contained in:
Jonathan Coates 2022-08-28 16:41:40 +01:00 committed by GitHub
commit db8c979a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ input should the whole output not fit on the display.
local rows = {}
for i = 1, 30 do rows[i] = {("Row #%d"):format(i), math.random(1, 400)} end
textutils.tabulate(colors.orange, {"Column", "Value"}, colors.lightBlue, table.unpack(rows))
textutils.pagedTabulate(colors.orange, {"Column", "Value"}, colors.lightBlue, table.unpack(rows))
]]
function pagedTabulate(...)
return tabulateCommon(true, ...)