diff options
author | ubq323 <ubq323@ubq323.website> | 2022-08-06 01:23:21 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-08-06 01:23:21 +0100 |
commit | 1768411806861f3b1a3f1b6b37f2ff3d7120c315 (patch) | |
tree | 8449d4785d57fe94f7cde69d2785f29a999191f1 /img | |
parent | 8ab550f8a6fe476fc03a26cf9bba59da4f2b1ce5 (diff) |
driving
Diffstat (limited to 'img')
-rw-r--r-- | img/driver.lua | 6 |
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()) |