forked from hkc/cc-stuff
1
0
Fork 0
This commit is contained in:
Casey 2023-10-15 04:40:58 +03:00
parent a2d8c592a7
commit 3ad3535b67
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ local w, h = string.byte(tape.read(2), 1, 2)
repeat repeat
for y = 1, h do for y = 1, h do
mon.setCursorPos(1, y) mon.setCursorPos(1, y)
local buf = string.byte(tape.read(w), 1, -1) local buf = { string.byte(tape.read(w), 1, -1) }
local s, f, b = "", "", "" local s, f, b = "", "", ""
for x = 1, w do for x = 1, w do
s = s .. string.char(0x80 + bit32.band(0x7F, buf[x])) s = s .. string.char(0x80 + bit32.band(0x7F, buf[x]))