diff options
Diffstat (limited to 'img')
-rw-r--r-- | img/driver.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/img/driver.lua b/img/driver.lua index 8da9c39..065586c 100644 --- a/img/driver.lua +++ b/img/driver.lua @@ -8,6 +8,7 @@ _G.print = function(...) o[ix] = tostring(select(ix,...)) end table.insert(_G.ERRLOG,table.concat(o,"\t")) + _G.oldprint(...) end _G.rpr = function() _G.print = _G.oldprint end @@ -16,6 +17,7 @@ local load_pnm = require("load_pnm").load print("uu") local better_disp = require("better_disp") print("uu") +local disp_common = require("disp_common") local perr = require("util").perr print("uu") @@ -35,6 +37,6 @@ print("the") print(xpcall(function() better_disp.disp(W,img,1,1) end,msgh)) print("endthe") os.pullEvent("key") ---shitty_disp.reset_palette(term.current()) +disp_common.reset_palette(term.current()) |