From 3ad3535b67cfc5dcf8e00ec9ec32271044cb69c4 Mon Sep 17 00:00:00 2001 From: hkc Date: Sun, 15 Oct 2023 04:40:58 +0300 Subject: [PATCH] Whoops! --- videotape.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videotape.lua b/videotape.lua index 707231a..71007ea 100644 --- a/videotape.lua +++ b/videotape.lua @@ -9,7 +9,7 @@ local w, h = string.byte(tape.read(2), 1, 2) repeat for y = 1, h do 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 = "", "", "" for x = 1, w do s = s .. string.char(0x80 + bit32.band(0x7F, buf[x]))