summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-06 01:23:21 +0100
committerubq323 <ubq323@ubq323.website>2022-08-06 01:23:21 +0100
commit1768411806861f3b1a3f1b6b37f2ff3d7120c315 (patch)
tree8449d4785d57fe94f7cde69d2785f29a999191f1
parent8ab550f8a6fe476fc03a26cf9bba59da4f2b1ce5 (diff)
driving
-rw-r--r--img/driver.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/img/driver.lua b/img/driver.lua
index 7a8aa53..b274646 100644
--- a/img/driver.lua
+++ b/img/driver.lua
@@ -1,7 +1,7 @@
package.path = "/?;/?.lua;"..package.path
local load_pnm = require("load_pnm").load
-local shitty_disp = require("shitty_disp")
+local better_disp = require("better_disp")
local perr = require("util").perr
local file,err = io.open(arg[1],"rb")
@@ -9,8 +9,8 @@ perr(err,"io.open")
local ff = file:read("a")
local img = load_pnm(ff)
term.clear()
-shitty_disp.disp(term.current(),img,1,1)
+better_disp.disp(term.current(),img,1,1)
os.pullEvent("key")
-shitty_disp.reset_palette(term.current())
+--shitty_disp.reset_palette(term.current())