1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 12:10:30 +00:00

Fixed usage example of textuils.pagedTabulate

This commit is contained in:
Ivo Leal 2022-08-28 15:24:47 +01:00 committed by GitHub
parent e2041f7438
commit 9d18487dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -259,7 +259,7 @@ input should the whole output not fit on the display.
local rows = {} local rows = {}
for i = 1, 30 do rows[i] = {("Row #%d"):format(i), math.random(1, 400)} end 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(...) function pagedTabulate(...)
return tabulateCommon(true, ...) return tabulateCommon(true, ...)