summaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
Diffstat (limited to 'img')
-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())