Whoops!
This commit is contained in:
parent
a2d8c592a7
commit
3ad3535b67
|
@ -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]))
|
||||||
|
|
Loading…
Reference in New Issue